Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005151/0.005151, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001219/0.001219, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.332/1.332, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.634/2.634, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.02 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2712, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1583/0.4295, allocations: 156 MB / 1.205 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.4555, allocations: 22.09 MB / 1.227 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.4581, allocations: 59.69 kB / 1.227 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.4606, allocations: 1.945 MB / 1.229 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.4629, allocations: 1.285 MB / 1.23 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.4646, allocations: 0.6087 MB / 1.23 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002375/0.467, allocations: 2.028 MB / 1.232 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.4684, allocations: 1.054 MB / 1.233 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.4695, allocations: 0.8058 MB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.4711, allocations: 1.424 MB / 1.236 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.4713, allocations: 60 kB / 1.236 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.4717, allocations: 115.9 kB / 1.236 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004044/0.4721, allocations: 0.4998 MB / 1.236 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006108/0.4727, allocations: 0.7833 MB / 1.237 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.4739, allocations: 1.462 MB / 1.238 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4739, allocations: 4 kB / 1.238 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4739, allocations: 0 / 1.238 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.4739, allocations: 3.938 kB / 1.239 GB, free: 9.348 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003362/0.4773, allocations: 2.375 MB / 1.241 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4773, allocations: 15.97 kB / 1.241 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.4777, allocations: 245.9 kB / 1.241 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.479, allocations: 1.05 MB / 1.242 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.4791, allocations: 99.67 kB / 1.242 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.4793, allocations: 91.89 kB / 1.242 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.4808, allocations: 0.8612 MB / 1.243 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.4808, allocations: 0 / 1.243 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.4809, allocations: 36 kB / 1.243 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.4809, allocations: 20 kB / 1.243 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.4822, allocations: 0.648 MB / 1.244 GB, free: 3.746 MB / 0.9981 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.5005/0.9828, allocations: 4.176 MB / 1.248 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.9847, allocations: 0.703 MB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007847/0.9855, allocations: 416.8 kB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.9856, allocations: 18.41 kB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008017/0.9864, allocations: 432.5 kB / 1.249 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 3.186e-06/0.9864, allocations: 0 / 1.249 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.005722/0.9921, allocations: 2.104 MB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.9922, allocations: 103.8 kB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003449/0.9957, allocations: 3.195 MB / 1.255 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.9958, allocations: 48.22 kB / 1.255 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008244/0.9967, allocations: 0.9609 MB / 1.256 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.9969, allocations: 254.3 kB / 1.256 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.9972, allocations: 153.7 kB / 1.256 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.9973, allocations: 339.7 kB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/0.998, allocations: 314.9 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.9988, allocations: 470.1 kB / 1.257 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1, allocations: 0.7274 MB / 1.258 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/1, allocations: 3.281 kB / 1.258 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002499/1.003, allocations: 1.237 MB / 1.259 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.003, allocations: 8.766 kB / 1.259 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.003, allocations: 6.844 kB / 1.259 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/1.004, allocations: 319.8 kB / 1.259 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/1.004, allocations: 130.9 kB / 1.259 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006858/1.011, allocations: 3.791 MB / 1.263 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.012, allocations: 114.1 kB / 1.263 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.119e-05/1.012, allocations: 32.64 kB / 1.263 GB, free: 191.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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 {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001252/1.014, allocations: 0.5918 MB / 1.264 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/1.014, allocations: 206.3 kB / 1.264 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/1.014, allocations: 253.5 kB / 1.264 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.014, allocations: 7.641 kB / 1.264 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.015, allocations: 1.344 kB / 1.264 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.015, allocations: 7.891 kB / 1.264 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/1.02, allocations: 2.399 MB / 1.267 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.02, allocations: 5.359 kB / 1.267 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/1.021, allocations: 67.67 kB / 1.267 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/1.022, allocations: 341.6 kB / 1.267 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/1.022, allocations: 22.03 kB / 1.267 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007547/1.03, allocations: 5.053 MB / 1.272 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.03, allocations: 0 / 1.272 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/1.034, allocations: 1.579 MB / 1.274 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007234/1.034, allocations: 318.3 kB / 1.274 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/1.034, allocations: 19.67 kB / 1.274 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/1.035, allocations: 56.55 kB / 1.274 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000385/1.035, allocations: 95.83 kB / 1.274 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/1.036, allocations: 26.58 kB / 1.274 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004422/1.04, allocations: 2.332 MB / 1.276 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.51e-07/1.04, allocations: 1.031 kB / 1.276 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00225/1.042, allocations: 324.7 kB / 1.277 GB, free: 185.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001667/1.044, allocations: 0.4918 MB / 1.277 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002572/1.047, allocations: 1.029 MB / 1.278 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.047, allocations: 1.094 kB / 1.278 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/1.048, allocations: 0.7712 MB / 1.279 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/1.05, allocations: 285.7 kB / 1.279 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008813/1.058, allocations: 4.745 MB / 1.284 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/1.06, allocations: 1.521 MB / 1.285 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/1.061, allocations: 67.86 kB / 1.285 GB, free: 181 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.061, allocations: 0 / 1.285 GB, free: 181 MB / 0.9981 GB Notification: Performance of Templates: time 0.03885/1.099, allocations: 32.35 MB / 1.317 GB, free: 153.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[2],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[2],time