Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_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_latest_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.005667/0.005667, allocations: 100.8 kB / 15.87 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.00115/0.00115, allocations: 198.4 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.323/1.323, 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.663/2.663, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.14 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3225, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1699/0.4925, allocations: 155.6 MB / 1.205 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03194/0.5244, allocations: 21.98 MB / 1.226 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.5281, allocations: 63.62 kB / 1.226 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.5308, allocations: 1.34 MB / 1.228 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.5338, allocations: 0.9655 MB / 1.228 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.5371, allocations: 0.5728 MB / 1.229 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00367/0.5408, allocations: 1.762 MB / 1.231 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.543, allocations: 0.8848 MB / 1.232 GB, free: 436 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.5445, allocations: 0.6616 MB / 1.232 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.5462, allocations: 1.167 MB / 1.233 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.5465, allocations: 52 kB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.5469, allocations: 107.9 kB / 1.234 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003994/0.5474, allocations: 396.3 kB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006179/0.548, allocations: 0.609 MB / 1.235 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.549, allocations: 1.204 MB / 1.236 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.549, allocations: 0 / 1.236 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.72e-07/0.549, allocations: 4 kB / 1.236 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.5491, allocations: 0 / 1.236 GB, free: 12.22 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002759/0.5518, allocations: 1.919 MB / 1.238 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5519, allocations: 11.97 kB / 1.238 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.5521, allocations: 182.7 kB / 1.238 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.5532, allocations: 0.8748 MB / 1.239 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.5534, allocations: 91 kB / 1.239 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/0.5535, allocations: 67.98 kB / 1.239 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.5547, allocations: 0.7176 MB / 1.239 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5548, allocations: 7.938 kB / 1.239 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.5548, allocations: 24 kB / 1.239 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.5548, allocations: 19.94 kB / 1.24 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5559, allocations: 0.5438 MB / 1.24 GB, free: 7.629 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.004055/0.56, allocations: 3.617 MB / 1.244 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.5613, allocations: 0.6126 MB / 1.244 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.562, allocations: 366.3 kB / 1.245 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.562, allocations: 16.55 kB / 1.245 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006989/0.5627, allocations: 386.8 kB / 1.245 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 2.435e-06/0.5627, allocations: 3.938 kB / 1.245 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.0046/0.5674, allocations: 1.773 MB / 1.247 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.5674, allocations: 63.91 kB / 1.247 GB, free: 452 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5823/1.15, allocations: 2.247 MB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/1.15, allocations: 42.55 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/1.151, allocations: 0.7177 MB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/1.151, allocations: 216.7 kB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/1.151, allocations: 128.3 kB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/1.151, allocations: 332.6 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/1.152, allocations: 277 kB / 1.251 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/1.152, allocations: 419.1 kB / 1.251 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/1.153, allocations: 0.6673 MB / 1.252 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.153, allocations: 0 / 1.252 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002017/1.155, allocations: 1.116 MB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.156, allocations: 9.344 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.156, allocations: 5.688 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007721/1.156, allocations: 276.7 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/1.157, allocations: 121.3 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/1.161, allocations: 3.435 MB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/1.162, allocations: 100.6 kB / 1.257 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/1.162, allocations: 32.86 kB / 1.257 GB, free: 193.1 MB / 0.9981 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.0004969/1.162, allocations: 457.9 kB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/1.162, allocations: 156.7 kB / 1.257 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/1.163, allocations: 188.4 kB / 1.257 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.163, allocations: 5.594 kB / 1.257 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.163, allocations: 4.359 kB / 1.257 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/1.163, allocations: 6.984 kB / 1.257 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/1.166, allocations: 2.043 MB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/1.166, allocations: 4.266 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/1.166, allocations: 61.73 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/1.167, allocations: 274.4 kB / 1.26 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/1.167, allocations: 19.75 kB / 1.26 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005382/1.172, allocations: 4.763 MB / 1.264 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.172, allocations: 0.75 kB / 1.264 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/1.176, allocations: 1.398 MB / 1.266 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/1.176, allocations: 263.1 kB / 1.266 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.176, allocations: 19.27 kB / 1.266 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/1.177, allocations: 38.64 kB / 1.266 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.177, allocations: 69.83 kB / 1.266 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/1.177, allocations: 28.73 kB / 1.266 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002644/1.18, allocations: 1.633 MB / 1.268 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-07/1.18, allocations: 0 / 1.268 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001276/1.181, allocations: 283.3 kB / 1.268 GB, free: 189.1 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: 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.001173/1.182, allocations: 0.4946 MB / 1.268 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002237/1.184, allocations: 0.8929 MB / 1.269 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.184, allocations: 1.156 kB / 1.269 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/1.186, allocations: 0.6725 MB / 1.27 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.187, allocations: 257.1 kB / 1.27 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/1.192, allocations: 3.614 MB / 1.274 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009668/1.193, allocations: 1.308 MB / 1.275 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/1.193, allocations: 59.69 kB / 1.275 GB, free: 186 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/1.193, allocations: 4.938 kB / 1.275 GB, free: 186 MB / 0.9981 GB Notification: Performance of Templates: time 0.0355/1.229, allocations: 23.65 MB / 1.298 GB, free: 173.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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