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.001364/0.001364, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001553/0.001553, allocations: 219.8 kB / 22.25 MB, free: 5.258 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.82 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.047/3.047, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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.002154/0.002154, allocations: 71.73 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3519, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007646/0.3596, allocations: 4.778 MB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1714/0.531, allocations: 132.7 MB / 1.46 GB, free: 7.477 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007756/0.5318, allocations: 23.81 kB / 1.46 GB, free: 7.453 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.5324, allocations: 218 kB / 1.46 GB, free: 7.238 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.5342, allocations: 0.582 MB / 1.461 GB, free: 6.656 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.5363, allocations: 0.8732 MB / 1.462 GB, free: 5.789 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.538, allocations: 1.471 MB / 1.463 GB, free: 4.312 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008121/0.5388, allocations: 438.7 kB / 1.464 GB, free: 3.855 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008104/0.5397, allocations: 0.5334 MB / 1.464 GB, free: 3.32 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.5404, allocations: 0.5328 MB / 1.465 GB, free: 2.785 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.5406, allocations: 124 kB / 1.465 GB, free: 2.664 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.5416, allocations: 0.4996 MB / 1.465 GB, free: 2.164 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.542, allocations: 311 kB / 1.466 GB, free: 1.859 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.5425, allocations: 497.5 kB / 1.466 GB, free: 1.371 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.5451, allocations: 1.751 MB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5451, allocations: 0 / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5451, allocations: 4 kB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.5451, allocations: 0 / 1.468 GB, free: 15.61 MB / 1.17 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.002976/0.5481, allocations: 1.486 MB / 1.469 GB, free: 14.09 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5481, allocations: 8.031 kB / 1.469 GB, free: 14.08 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.5483, allocations: 139.7 kB / 1.469 GB, free: 13.94 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.5497, allocations: 239.9 kB / 1.47 GB, free: 13.7 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.5512, allocations: 0.7335 MB / 1.47 GB, free: 12.94 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.5512, allocations: 66 kB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.5514, allocations: 88 kB / 1.47 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.5532, allocations: 1.212 MB / 1.472 GB, free: 11.47 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.5532, allocations: 4 kB / 1.472 GB, free: 11.47 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.5533, allocations: 36 kB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.5533, allocations: 20 kB / 1.472 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.5552, allocations: 1.089 MB / 1.473 GB, free: 10.32 MB / 1.17 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.004259/0.5594, allocations: 2.302 MB / 1.475 GB, free: 7.953 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.561, allocations: 0.8011 MB / 1.476 GB, free: 7.145 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.5615, allocations: 302.7 kB / 1.476 GB, free: 6.844 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/0.5616, allocations: 30.69 kB / 1.476 GB, free: 6.816 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009543/0.5626, allocations: 0.5968 MB / 1.477 GB, free: 6.18 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.605e-06/0.5626, allocations: 0 / 1.477 GB, free: 6.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.00318/0.5657, allocations: 1.18 MB / 1.478 GB, free: 4.988 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.5659, allocations: 192.9 kB / 1.478 GB, free: 4.758 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009243/0.5668, allocations: 0.6802 MB / 1.479 GB, free: 4.07 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-05/0.5669, allocations: 45.64 kB / 1.479 GB, free: 4.02 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.5673, allocations: 425.1 kB / 1.479 GB, free: 3.598 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.5675, allocations: 289.6 kB / 1.479 GB, free: 3.312 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.5678, allocations: 154.6 kB / 1.48 GB, free: 3.156 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.568, allocations: 390.8 kB / 1.48 GB, free: 2.766 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.5685, allocations: 261.8 kB / 1.48 GB, free: 2.508 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.5692, allocations: 499.1 kB / 1.481 GB, free: 1.965 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.5703, allocations: 0.6047 MB / 1.481 GB, free: 1.352 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5703, allocations: 0 / 1.481 GB, free: 1.352 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002024/0.5724, allocations: 0.8413 MB / 1.482 GB, free: 0.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.5724, allocations: 11.94 kB / 1.482 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5724, allocations: 0 / 1.482 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/0.5729, allocations: 84.86 kB / 1.482 GB, free: 412 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.5736, allocations: 163.8 kB / 1.482 GB, free: 248 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.5758, allocations: 1.527 MB / 1.484 GB, free: 14.6 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007516/0.5765, allocations: 97.22 kB / 1.484 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.5766, allocations: 32.05 kB / 1.484 GB, free: 14.47 MB / 1.186 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.0004719/0.5771, allocations: 274.1 kB / 1.484 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.5773, allocations: 91.39 kB / 1.484 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.5796, allocations: 1.094 MB / 1.485 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5796, allocations: 12 kB / 1.485 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.5796, allocations: 0 / 1.485 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.5796, allocations: 3.984 kB / 1.485 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.5807, allocations: 0.7781 MB / 1.486 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.5807, allocations: 3.938 kB / 1.486 GB, free: 12.15 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.5814, allocations: 159.7 kB / 1.486 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.5818, allocations: 76.78 kB / 1.486 GB, free: 11.92 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.5818, allocations: 27.97 kB / 1.486 GB, free: 11.89 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.5838, allocations: 1.547 MB / 1.488 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5838, allocations: 3.969 kB / 1.488 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.5866, allocations: 1.372 MB / 1.489 GB, free: 8.824 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/0.5871, allocations: 215 kB / 1.489 GB, free: 8.613 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5872, allocations: 24.06 kB / 1.489 GB, free: 8.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.5878, allocations: 59.94 kB / 1.49 GB, free: 8.531 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.588, allocations: 80.78 kB / 1.49 GB, free: 8.453 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.588, allocations: 39.92 kB / 1.49 GB, free: 8.414 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006593/0.5887, allocations: 491 kB / 1.49 GB, free: 7.938 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5887, allocations: 0 / 1.49 GB, free: 7.938 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008689/0.5896, allocations: 339.1 kB / 1.49 GB, free: 7.605 MB / 1.186 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.004983/0.5946, allocations: 2.462 MB / 1.493 GB, free: 5.324 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.5963, allocations: 0.7883 MB / 1.494 GB, free: 4.527 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5963, allocations: 4.188 kB / 1.494 GB, free: 4.523 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.5973, allocations: 0.5002 MB / 1.494 GB, free: 4.008 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.5985, allocations: 314.5 kB / 1.494 GB, free: 3.727 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.6101, allocations: 6.62 MB / 1.501 GB, free: 12.95 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.6106, allocations: 463.1 kB / 1.501 GB, free: 12.46 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008467/0.6114, allocations: 267 kB / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.612, allocations: 415.2 kB / 1.502 GB, free: 11.79 MB / 1.201 GB Notification: Performance of SimCode: time 9.21e-07/0.612, allocations: 0 / 1.502 GB, free: 11.79 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07148/0.6835, allocations: 24.49 MB / 1.526 GB, free: 3.621 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.61, allocations: 4.062 kB / 1.526 GB, free: 3.617 MB / 1.217 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.235374541021883]