Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 181 kB / 16.92 MB, free: 6.918 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6525, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1605/0.813, allocations: 153.5 MB / 1.174 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03095/0.844, allocations: 21.75 MB / 1.195 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/0.8473, allocations: 59.67 kB / 1.195 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.8498, allocations: 1.344 MB / 1.196 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.853, allocations: 0.9655 MB / 1.197 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.8556, allocations: 0.5725 MB / 1.198 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.8591, allocations: 1.758 MB / 1.199 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.8609, allocations: 0.8475 MB / 1.2 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.8622, allocations: 0.6225 MB / 1.201 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.8638, allocations: 1.132 MB / 1.202 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.864, allocations: 35.94 kB / 1.202 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.8644, allocations: 87.97 kB / 1.202 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00043/0.8649, allocations: 364.4 kB / 1.202 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007576/0.8656, allocations: 0.6184 MB / 1.203 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.8669, allocations: 1.173 MB / 1.204 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8669, allocations: 3.938 kB / 1.204 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.607e-06/0.867, allocations: 4 kB / 1.204 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.212e-05/0.867, allocations: 0 / 1.204 GB, free: 6.398 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003183/0.8702, allocations: 1.698 MB / 1.206 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8703, allocations: 8.031 kB / 1.206 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003855/0.8706, allocations: 182.7 kB / 1.206 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.872, allocations: 0.871 MB / 1.207 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.8722, allocations: 91 kB / 1.207 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.8724, allocations: 68 kB / 1.207 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.8737, allocations: 0.7293 MB / 1.208 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.8738, allocations: 4 kB / 1.208 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.8739, allocations: 20 kB / 1.208 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.8739, allocations: 19.98 kB / 1.208 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.8751, allocations: 0.5594 MB / 1.208 GB, free: 2.016 MB / 0.9512 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.00488/0.88, allocations: 3.683 MB / 1.212 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.8814, allocations: 0.6256 MB / 1.212 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000725/0.8821, allocations: 382.3 kB / 1.213 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.8822, allocations: 8.562 kB / 1.213 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007558/0.8829, allocations: 394.8 kB / 1.213 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=65): time 2.705e-06/0.8829, allocations: 0 / 1.213 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65): time 0.005127/0.8881, allocations: 1.824 MB / 1.215 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.8881, allocations: 63.91 kB / 1.215 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.8908, allocations: 2.255 MB / 1.217 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.8909, allocations: 49.7 kB / 1.217 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006283/0.8915, allocations: 0.7109 MB / 1.218 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.8917, allocations: 217 kB / 1.218 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.8918, allocations: 69.67 kB / 1.218 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.892, allocations: 334 kB / 1.219 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/0.8926, allocations: 293.8 kB / 1.219 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007439/0.8934, allocations: 448.7 kB / 1.219 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.8948, allocations: 0.6877 MB / 1.22 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.8948, allocations: 4 kB / 1.22 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002543/0.8973, allocations: 1.151 MB / 1.221 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.8974, allocations: 11.98 kB / 1.221 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.8974, allocations: 4 kB / 1.221 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008338/0.8982, allocations: 266.8 kB / 1.221 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.8987, allocations: 139.7 kB / 1.222 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/0.9037, allocations: 3.456 MB / 1.225 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.9044, allocations: 103.4 kB / 1.225 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.9045, allocations: 27.98 kB / 1.225 GB, free: 236 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007039/0.9052, allocations: 464.3 kB / 1.225 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.9055, allocations: 161.9 kB / 1.226 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.9058, allocations: 187.7 kB / 1.226 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.9058, allocations: 4 kB / 1.226 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.9059, allocations: 7.984 kB / 1.226 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.9059, allocations: 0 / 1.226 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.9096, allocations: 2.068 MB / 1.228 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9097, allocations: 0 / 1.228 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.91, allocations: 63.89 kB / 1.228 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007937/0.9108, allocations: 277.4 kB / 1.228 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.9108, allocations: 19.92 kB / 1.228 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006203/0.9171, allocations: 4.781 MB / 1.233 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9171, allocations: 0 / 1.233 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/0.92, allocations: 1.424 MB / 1.234 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.9205, allocations: 282.9 kB / 1.235 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.9207, allocations: 12 kB / 1.235 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.9212, allocations: 51.95 kB / 1.235 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.9214, allocations: 68.45 kB / 1.235 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.9215, allocations: 23.98 kB / 1.235 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001972/0.9234, allocations: 1.631 MB / 1.236 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9235, allocations: 0 / 1.236 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00106/0.9245, allocations: 279.4 kB / 1.237 GB, free: 4.074 MB / 0.9825 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.9257, allocations: 497 kB / 1.237 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.9278, allocations: 0.9229 MB / 1.238 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.9278, allocations: 4.125 kB / 1.238 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.929, allocations: 0.6865 MB / 1.239 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.9305, allocations: 265.3 kB / 1.239 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.9361, allocations: 3.7 MB / 1.242 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009685/0.9371, allocations: 1.307 MB / 1.244 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.9373, allocations: 59.42 kB / 1.244 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.9373, allocations: 0 / 1.244 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.5229/1.46, allocations: 23.35 MB / 1.267 GB, free: 227.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time