Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 193.9 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 64.83 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2719, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006083/0.278, allocations: 4.95 MB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1478/0.4258, allocations: 148.3 MB / 1.202 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/0.4267, allocations: 15.94 kB / 1.202 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.4274, allocations: 146.8 kB / 1.202 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.4296, allocations: 480.9 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.4315, allocations: 0.7191 MB / 1.203 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.4329, allocations: 1.28 MB / 1.204 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007852/0.4337, allocations: 0.5609 MB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005141/0.4343, allocations: 410.3 kB / 1.205 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.4347, allocations: 469.8 kB / 1.206 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.4349, allocations: 56 kB / 1.206 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008219/0.4357, allocations: 407.5 kB / 1.206 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.4359, allocations: 227.1 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004243/0.4364, allocations: 0.4972 MB / 1.207 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.4377, allocations: 1.519 MB / 1.208 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4377, allocations: 0 / 1.208 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4377, allocations: 0 / 1.208 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.4377, allocations: 4 kB / 1.208 GB, free: 8.309 MB / 0.9669 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.0023/0.44, allocations: 1.422 MB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.44, allocations: 12.03 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009037/0.441, allocations: 187.4 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.4419, allocations: 0.7382 MB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.442, allocations: 61.98 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.905e-05/0.4421, allocations: 88 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4436, allocations: 0.9114 MB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.4436, allocations: 0 / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.4437, allocations: 32 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.4437, allocations: 24 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.4454, allocations: 1.097 MB / 1.213 GB, free: 3.609 MB / 0.9669 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.003874/0.4493, allocations: 2.776 MB / 1.215 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.4507, allocations: 0.774 MB / 1.216 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.4512, allocations: 298.6 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-05/0.4513, allocations: 32.59 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008573/0.4521, allocations: 487.1 kB / 1.217 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.375e-06/0.4522, allocations: 0 / 1.217 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003048/0.4552, allocations: 1.178 MB / 1.218 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.4553, allocations: 192.6 kB / 1.218 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.456, allocations: 0.637 MB / 1.219 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.4561, allocations: 41.7 kB / 1.219 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.4564, allocations: 404.3 kB / 1.219 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.4566, allocations: 244.4 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.4568, allocations: 166.5 kB / 1.22 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.457, allocations: 386.7 kB / 1.22 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.4575, allocations: 261.9 kB / 1.22 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.4581, allocations: 364 kB / 1.221 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.4592, allocations: 0.6042 MB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4592, allocations: 0 / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001916/0.4611, allocations: 0.8487 MB / 1.222 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4611, allocations: 4 kB / 1.222 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4612, allocations: 4 kB / 1.222 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/0.4618, allocations: 84.89 kB / 1.222 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.4624, allocations: 159.7 kB / 1.222 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.4645, allocations: 1.523 MB / 1.224 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.4652, allocations: 95.38 kB / 1.224 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.4653, allocations: 39.91 kB / 1.224 GB, free: 7.637 MB / 0.9825 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.0004161/0.4657, allocations: 271.6 kB / 1.224 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.4659, allocations: 86.91 kB / 1.224 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.4682, allocations: 1.05 MB / 1.225 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.4682, allocations: 8 kB / 1.225 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4682, allocations: 0 / 1.225 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.4682, allocations: 3.984 kB / 1.225 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.4692, allocations: 0.8839 MB / 1.226 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4693, allocations: 0 / 1.226 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.4698, allocations: 143.8 kB / 1.226 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005411/0.4704, allocations: 84.77 kB / 1.226 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/0.4704, allocations: 23.98 kB / 1.226 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.4722, allocations: 1.544 MB / 1.228 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4723, allocations: 7.969 kB / 1.228 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.4742, allocations: 0.9083 MB / 1.229 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.4746, allocations: 267.8 kB / 1.229 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.4747, allocations: 23.91 kB / 1.229 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.4753, allocations: 66.33 kB / 1.229 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.4755, allocations: 68.89 kB / 1.229 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/0.4756, allocations: 31.98 kB / 1.229 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005591/0.4761, allocations: 459 kB / 1.23 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4761, allocations: 0 / 1.23 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008891/0.477, allocations: 319.3 kB / 1.23 GB, free: 1.168 MB / 0.9825 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.001316/0.4784, allocations: 0.6049 MB / 1.231 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.4799, allocations: 0.8158 MB / 1.231 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4799, allocations: 0 / 1.231 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000874/0.4808, allocations: 0.5119 MB / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.4819, allocations: 282.5 kB / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.4849, allocations: 2.077 MB / 1.234 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.4854, allocations: 1.021 MB / 1.235 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000806/0.4862, allocations: 254.6 kB / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.4865, allocations: 99.38 kB / 1.236 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.4865, allocations: 0 / 1.236 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of Templates: time 0.5214/1.008, allocations: 14.36 MB / 1.25 GB, free: 192.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches