Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 100.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.11/3.11, allocations: 0.49 GB / 0.7916 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 74.31 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007773/0.3189, allocations: 5.295 MB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.4934, allocations: 154.1 MB / 1.476 GB, free: 3.395 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009772/0.4944, allocations: 31.81 kB / 1.476 GB, free: 3.363 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.4952, allocations: 210 kB / 1.477 GB, free: 3.156 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.4972, allocations: 0.5818 MB / 1.477 GB, free: 2.574 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.4993, allocations: 0.8698 MB / 1.478 GB, free: 1.711 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.5012, allocations: 1.471 MB / 1.479 GB, free: 240 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007851/0.502, allocations: 438.1 kB / 1.48 GB, free: 15.78 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008294/0.5028, allocations: 0.5295 MB / 1.48 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006889/0.5035, allocations: 0.5367 MB / 1.481 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.5037, allocations: 123.9 kB / 1.481 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.5047, allocations: 0.5113 MB / 1.482 GB, free: 14.07 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.5051, allocations: 311 kB / 1.482 GB, free: 13.77 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.5057, allocations: 0.5946 MB / 1.482 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.5082, allocations: 1.739 MB / 1.484 GB, free: 11.43 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.5082, allocations: 0 / 1.484 GB, free: 11.43 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5082, allocations: 8 kB / 1.484 GB, free: 11.42 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.077e-05/0.5082, allocations: 0 / 1.484 GB, free: 11.42 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003086/0.5113, allocations: 1.557 MB / 1.486 GB, free: 9.812 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5113, allocations: 15.98 kB / 1.486 GB, free: 9.797 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.5115, allocations: 143.6 kB / 1.486 GB, free: 9.648 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.513, allocations: 240 kB / 1.486 GB, free: 9.414 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5143, allocations: 0.8056 MB / 1.487 GB, free: 8.566 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.5143, allocations: 66 kB / 1.487 GB, free: 8.5 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.5145, allocations: 88 kB / 1.487 GB, free: 8.414 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.5162, allocations: 0.9535 MB / 1.488 GB, free: 7.422 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.5162, allocations: 3.984 kB / 1.488 GB, free: 7.418 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/0.5163, allocations: 44 kB / 1.488 GB, free: 7.375 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.5163, allocations: 20 kB / 1.488 GB, free: 7.355 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.5181, allocations: 1.128 MB / 1.489 GB, free: 6.223 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004393/0.5225, allocations: 2.886 MB / 1.492 GB, free: 3.199 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.5241, allocations: 0.8006 MB / 1.493 GB, free: 2.391 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.5247, allocations: 288.9 kB / 1.493 GB, free: 2.105 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-05/0.5248, allocations: 38.69 kB / 1.493 GB, free: 2.07 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009071/0.5257, allocations: 0.5042 MB / 1.493 GB, free: 1.547 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.825e-06/0.5257, allocations: 4 kB / 1.494 GB, free: 1.543 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.00349/0.5292, allocations: 1.251 MB / 1.495 GB, free: 272 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.5293, allocations: 196.9 kB / 1.495 GB, free: 32 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009946/0.5303, allocations: 0.6726 MB / 1.496 GB, free: 15.35 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5304, allocations: 41.7 kB / 1.496 GB, free: 15.3 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.5308, allocations: 429.1 kB / 1.496 GB, free: 14.88 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.531, allocations: 289.5 kB / 1.496 GB, free: 14.59 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.5313, allocations: 154.6 kB / 1.496 GB, free: 14.43 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.5315, allocations: 386.8 kB / 1.497 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/0.5321, allocations: 261.9 kB / 1.497 GB, free: 13.79 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.5327, allocations: 366.5 kB / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.5339, allocations: 0.6125 MB / 1.498 GB, free: 12.79 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5339, allocations: 0 / 1.498 GB, free: 12.79 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002187/0.5361, allocations: 0.8374 MB / 1.499 GB, free: 11.94 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.5361, allocations: 8 kB / 1.499 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5361, allocations: 0 / 1.499 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/0.5368, allocations: 84.86 kB / 1.499 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.5375, allocations: 167.8 kB / 1.499 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.5398, allocations: 1.634 MB / 1.501 GB, free: 9.902 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008026/0.5406, allocations: 95.56 kB / 1.501 GB, free: 9.809 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/0.5407, allocations: 31.97 kB / 1.501 GB, free: 9.777 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005155/0.5412, allocations: 271.4 kB / 1.501 GB, free: 9.504 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.5415, allocations: 95.39 kB / 1.501 GB, free: 9.41 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.5441, allocations: 1.098 MB / 1.502 GB, free: 8.301 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.5441, allocations: 8 kB / 1.502 GB, free: 8.293 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5441, allocations: 0 / 1.502 GB, free: 8.293 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.5442, allocations: 7.969 kB / 1.502 GB, free: 8.285 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.5455, allocations: 0.9466 MB / 1.503 GB, free: 7.285 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.5455, allocations: 3.938 kB / 1.503 GB, free: 7.281 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.5462, allocations: 155.7 kB / 1.503 GB, free: 7.129 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/0.5467, allocations: 76.78 kB / 1.503 GB, free: 7.051 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.875e-05/0.5468, allocations: 27.97 kB / 1.503 GB, free: 7.023 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.549, allocations: 1.658 MB / 1.505 GB, free: 5.215 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.549, allocations: 0 / 1.505 GB, free: 5.215 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.5522, allocations: 1.379 MB / 1.506 GB, free: 3.816 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.5527, allocations: 292 kB / 1.507 GB, free: 3.512 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.553, allocations: 20 kB / 1.507 GB, free: 3.492 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/0.5537, allocations: 61.81 kB / 1.507 GB, free: 3.434 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.5539, allocations: 76.95 kB / 1.507 GB, free: 3.359 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/0.554, allocations: 35.97 kB / 1.507 GB, free: 3.324 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008015/0.5548, allocations: 495 kB / 1.507 GB, free: 2.844 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5548, allocations: 0 / 1.507 GB, free: 2.844 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009949/0.5558, allocations: 327.2 kB / 1.508 GB, free: 2.523 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005242/0.561, allocations: 2.429 MB / 1.51 GB, free: 248 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.5629, allocations: 0.7921 MB / 1.511 GB, free: 15.44 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.5629, allocations: 8.188 kB / 1.511 GB, free: 15.43 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.564, allocations: 0.5001 MB / 1.511 GB, free: 14.91 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.5654, allocations: 312.5 kB / 1.512 GB, free: 14.64 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.5779, allocations: 6.614 MB / 1.518 GB, free: 7.871 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/0.5787, allocations: 1.049 MB / 1.519 GB, free: 6.797 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009226/0.5796, allocations: 271 kB / 1.519 GB, free: 6.527 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.5803, allocations: 411.3 kB / 1.52 GB, free: 6.125 MB / 1.217 GB Notification: Performance of SimCode: time 9.42e-07/0.5803, allocations: 0 / 1.52 GB, free: 6.125 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06577/0.6461, allocations: 22.65 MB / 1.542 GB, free: 15.7 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.97, allocations: 4.266 kB / 1.542 GB, free: 15.7 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.659447462996468]