Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001513/0.001513, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001324/0.001324, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.2 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 64.48 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2854, allocations: 140.4 MB / 0.9503 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.7123/0.9977, allocations: 158.3 MB / 1.105 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02965/1.027, allocations: 22.24 MB / 1.127 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004786/1.032, allocations: 66.5 kB / 1.127 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003681/1.036, allocations: 1.97 MB / 1.129 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/1.04, allocations: 1.327 MB / 1.13 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/1.042, allocations: 0.6884 MB / 1.131 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003831/1.046, allocations: 1.954 MB / 1.132 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/1.048, allocations: 1.151 MB / 1.134 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/1.051, allocations: 0.8859 MB / 1.134 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/1.054, allocations: 1.447 MB / 1.136 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004248/1.054, allocations: 107.6 kB / 1.136 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008743/1.055, allocations: 155.4 kB / 1.136 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006206/1.056, allocations: 0.5192 MB / 1.137 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/1.057, allocations: 0.8224 MB / 1.137 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002944/1.06, allocations: 1.925 MB / 1.139 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/1.06, allocations: 0.9688 kB / 1.139 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/1.06, allocations: 0 / 1.139 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.692e-05/1.06, allocations: 1.094 kB / 1.139 GB, free: 5.426 MB / 0.8575 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.005294/1.065, allocations: 2.384 MB / 1.142 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.065, allocations: 9.594 kB / 1.142 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005248/1.066, allocations: 244.5 kB / 1.142 GB, free: 19.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/1.067, allocations: 1.05 MB / 1.143 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/1.067, allocations: 100.5 kB / 1.143 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.068, allocations: 86.09 kB / 1.143 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/1.069, allocations: 0.865 MB / 1.144 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/1.069, allocations: 2.281 kB / 1.144 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/1.069, allocations: 37.62 kB / 1.144 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/1.069, allocations: 20.12 kB / 1.144 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/1.071, allocations: 0.6429 MB / 1.145 GB, free: 19.27 MB / 0.8731 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.006808/1.077, allocations: 4.184 MB / 1.149 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/1.079, allocations: 0.7056 MB / 1.149 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/1.08, allocations: 422.2 kB / 1.15 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/1.08, allocations: 11.83 kB / 1.15 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008037/1.081, allocations: 432.3 kB / 1.15 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.917e-06/1.081, allocations: 0 / 1.15 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.006501/1.087, allocations: 2.103 MB / 1.152 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/1.087, allocations: 97.36 kB / 1.152 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/1.092, allocations: 3.206 MB / 1.155 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/1.092, allocations: 44.05 kB / 1.155 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000673/1.093, allocations: 0.9563 MB / 1.156 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/1.093, allocations: 263.2 kB / 1.157 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/1.093, allocations: 148.5 kB / 1.157 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.093, allocations: 342.5 kB / 1.157 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/1.094, allocations: 311.7 kB / 1.157 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008027/1.095, allocations: 474.4 kB / 1.158 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/1.096, allocations: 0.7286 MB / 1.159 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.096, allocations: 5.312 kB / 1.159 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002731/1.099, allocations: 1.24 MB / 1.16 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.099, allocations: 6.219 kB / 1.16 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.099, allocations: 3.594 kB / 1.16 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/1.1, allocations: 333.4 kB / 1.16 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/1.1, allocations: 132 kB / 1.16 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005949/1.106, allocations: 4.054 MB / 1.164 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.108, allocations: 108.9 kB / 1.164 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/1.108, allocations: 28.38 kB / 1.164 GB, free: 9.02 MB / 0.8731 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.001196/1.109, allocations: 0.5924 MB / 1.165 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/1.109, allocations: 209.4 kB / 1.165 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/1.11, allocations: 251.2 kB / 1.165 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.11, allocations: 9.406 kB / 1.165 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.11, allocations: 4.969 kB / 1.165 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.11, allocations: 6.984 kB / 1.165 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/1.114, allocations: 2.404 MB / 1.168 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.114, allocations: 4 kB / 1.168 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/1.114, allocations: 69.44 kB / 1.168 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000905/1.115, allocations: 344.7 kB / 1.168 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/1.115, allocations: 28.36 kB / 1.168 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006933/1.122, allocations: 5.541 MB / 1.174 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.122, allocations: 7.188 kB / 1.174 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/1.125, allocations: 1.577 MB / 1.175 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006998/1.126, allocations: 307.6 kB / 1.175 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/1.126, allocations: 26.41 kB / 1.175 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/1.127, allocations: 49.34 kB / 1.176 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/1.127, allocations: 93.38 kB / 1.176 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/1.127, allocations: 29.5 kB / 1.176 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00291/1.13, allocations: 2.333 MB / 1.178 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.71e-07/1.13, allocations: 0 / 1.178 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001375/1.132, allocations: 325.7 kB / 1.178 GB, free: 1.297 MB / 0.8731 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.001181/1.133, allocations: 492.1 kB / 1.179 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00258/1.135, allocations: 1.09 MB / 1.18 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.135, allocations: 3.594 kB / 1.18 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/1.137, allocations: 0.7789 MB / 1.181 GB, free: 220 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/1.139, allocations: 312.7 kB / 1.181 GB, free: 84 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007173/1.146, allocations: 4.189 MB / 1.185 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.147, allocations: 1.524 MB / 1.186 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/1.147, allocations: 72.83 kB / 1.186 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of SimCode: time 7.72e-07/1.147, allocations: 0 / 1.186 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of Templates: time 0.05152/1.199, allocations: 32.35 MB / 1.218 GB, free: 2.477 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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