Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001268/0.001268, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001464/0.001464, allocations: 215.3 kB / 22.25 MB, free: 5.262 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.785 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.193/3.193, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [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.00294/0.00294, allocations: 73.09 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4485, allocations: 176.1 MB / 1.325 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007882/0.4564, allocations: 4.505 MB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1843/0.6406, allocations: 132.7 MB / 1.459 GB, free: 8.145 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.6417, allocations: 23.81 kB / 1.459 GB, free: 8.121 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.6425, allocations: 198.2 kB / 1.46 GB, free: 7.926 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.6445, allocations: 0.5656 MB / 1.46 GB, free: 7.363 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.6467, allocations: 0.8557 MB / 1.461 GB, free: 6.512 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.6484, allocations: 1.389 MB / 1.462 GB, free: 5.117 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007895/0.6492, allocations: 397.9 kB / 1.463 GB, free: 4.703 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000769/0.6499, allocations: 0.4944 MB / 1.463 GB, free: 4.207 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.6505, allocations: 457.8 kB / 1.464 GB, free: 3.758 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.6507, allocations: 120 kB / 1.464 GB, free: 3.641 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.6517, allocations: 495.6 kB / 1.464 GB, free: 3.156 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.652, allocations: 299 kB / 1.465 GB, free: 2.863 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000511/0.6525, allocations: 465.7 kB / 1.465 GB, free: 2.406 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.6552, allocations: 1.677 MB / 1.467 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6552, allocations: 0 / 1.467 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6552, allocations: 0 / 1.467 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.6552, allocations: 0 / 1.467 GB, free: 0.7227 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003062/0.6583, allocations: 1.408 MB / 1.468 GB, free: 15.28 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6583, allocations: 12.03 kB / 1.468 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.6598, allocations: 228 kB / 1.468 GB, free: 15.05 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.6612, allocations: 0.7104 MB / 1.469 GB, free: 14.31 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.6613, allocations: 70 kB / 1.469 GB, free: 14.24 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6614, allocations: 76 kB / 1.469 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.6631, allocations: 1.17 MB / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.6631, allocations: 0 / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.6632, allocations: 32 kB / 1.47 GB, free: 12.86 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.6633, allocations: 24 kB / 1.47 GB, free: 12.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.665, allocations: 1.053 MB / 1.471 GB, free: 11.78 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.003882/0.6689, allocations: 2.159 MB / 1.473 GB, free: 9.566 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.6704, allocations: 0.7364 MB / 1.474 GB, free: 8.816 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.671, allocations: 278.7 kB / 1.474 GB, free: 8.543 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.561e-05/0.671, allocations: 20.62 kB / 1.474 GB, free: 8.523 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009441/0.672, allocations: 0.5879 MB / 1.475 GB, free: 7.891 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.475e-06/0.672, allocations: 0 / 1.475 GB, free: 7.891 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003256/0.6752, allocations: 1.099 MB / 1.476 GB, free: 6.785 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.6754, allocations: 188.6 kB / 1.476 GB, free: 6.555 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008342/0.6762, allocations: 0.6135 MB / 1.477 GB, free: 5.934 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.6763, allocations: 45.7 kB / 1.477 GB, free: 5.883 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.6766, allocations: 405 kB / 1.477 GB, free: 5.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.6769, allocations: 269.7 kB / 1.478 GB, free: 5.215 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.6771, allocations: 170.5 kB / 1.478 GB, free: 5.043 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.6773, allocations: 382.7 kB / 1.478 GB, free: 4.66 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/0.6779, allocations: 265.8 kB / 1.478 GB, free: 4.398 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.6786, allocations: 496.5 kB / 1.479 GB, free: 3.867 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.6798, allocations: 0.6003 MB / 1.479 GB, free: 3.254 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.6798, allocations: 0 / 1.479 GB, free: 3.254 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002061/0.6819, allocations: 0.8414 MB / 1.48 GB, free: 2.402 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6819, allocations: 7.938 kB / 1.48 GB, free: 2.395 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6819, allocations: 8.062 kB / 1.48 GB, free: 2.387 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/0.6825, allocations: 84.89 kB / 1.48 GB, free: 2.301 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.6832, allocations: 155.8 kB / 1.48 GB, free: 2.148 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.6854, allocations: 1.502 MB / 1.482 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/0.6861, allocations: 91.62 kB / 1.482 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.6861, allocations: 35.95 kB / 1.482 GB, free: 420 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.0004839/0.6866, allocations: 269.7 kB / 1.482 GB, free: 140 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.6868, allocations: 87.42 kB / 1.482 GB, free: 52 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.6892, allocations: 1.038 MB / 1.483 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6892, allocations: 12 kB / 1.483 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6892, allocations: 3.984 kB / 1.483 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6892, allocations: 3.984 kB / 1.483 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.6902, allocations: 0.6303 MB / 1.484 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6902, allocations: 0 / 1.484 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.6907, allocations: 151.8 kB / 1.484 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004293/0.6912, allocations: 68.8 kB / 1.484 GB, free: 14.1 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.6912, allocations: 31.91 kB / 1.484 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.6932, allocations: 1.52 MB / 1.486 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6932, allocations: 4.062 kB / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.6953, allocations: 0.9127 MB / 1.487 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/0.6957, allocations: 199 kB / 1.487 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.6959, allocations: 27.98 kB / 1.487 GB, free: 11.28 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/0.6965, allocations: 59.94 kB / 1.487 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.6966, allocations: 68.86 kB / 1.487 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/0.6967, allocations: 35.98 kB / 1.487 GB, free: 11.12 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006271/0.6973, allocations: 443 kB / 1.487 GB, free: 10.69 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6973, allocations: 0 / 1.487 GB, free: 10.69 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009212/0.6982, allocations: 331.1 kB / 1.488 GB, free: 10.37 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.002153/0.7004, allocations: 0.6406 MB / 1.488 GB, free: 9.934 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.7022, allocations: 0.7923 MB / 1.489 GB, free: 9.129 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7022, allocations: 0 / 1.489 GB, free: 9.129 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009459/0.7032, allocations: 484.2 kB / 1.49 GB, free: 8.648 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.7043, allocations: 298.5 kB / 1.49 GB, free: 8.375 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.7078, allocations: 1.694 MB / 1.492 GB, free: 6.652 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.7083, allocations: 446.2 kB / 1.492 GB, free: 6.184 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008495/0.7092, allocations: 262.5 kB / 1.492 GB, free: 5.922 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.7095, allocations: 111.4 kB / 1.492 GB, free: 5.812 MB / 1.186 GB Notification: Performance of SimCode: time 5.91e-07/0.7095, allocations: 0 / 1.492 GB, free: 5.812 MB / 1.186 GB Notification: Performance of Templates: time 0.03058/0.74, allocations: 16.17 MB / 1.508 GB, free: 5.895 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: 9.870617302134633]