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.001163/0.001163, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001217/0.001217, allocations: 189.5 kB / 16.91 MB, free: 6.18 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.31/2.31, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 69.42 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2924, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.6883/0.9807, allocations: 156.1 MB / 1.102 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02877/1.01, allocations: 21.98 MB / 1.124 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003706/1.013, allocations: 62.62 kB / 1.124 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003525/1.017, allocations: 1.922 MB / 1.126 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003616/1.021, allocations: 1.272 MB / 1.127 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/1.023, allocations: 0.6051 MB / 1.127 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003882/1.027, allocations: 1.958 MB / 1.129 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/1.029, allocations: 1.151 MB / 1.13 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/1.031, allocations: 0.905 MB / 1.131 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/1.034, allocations: 1.497 MB / 1.133 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003407/1.034, allocations: 105.6 kB / 1.133 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/1.035, allocations: 157.9 kB / 1.133 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004706/1.035, allocations: 0.5455 MB / 1.134 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008393/1.036, allocations: 0.8244 MB / 1.134 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/1.038, allocations: 1.49 MB / 1.136 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.038, allocations: 0 / 1.136 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.175e-06/1.038, allocations: 2.344 kB / 1.136 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.103e-05/1.038, allocations: 0 / 1.136 GB, free: 5.73 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.004428/1.042, allocations: 2.389 MB / 1.138 GB, free: 20.42 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.042, allocations: 9.312 kB / 1.138 GB, free: 20.42 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/1.043, allocations: 243.3 kB / 1.138 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.044, allocations: 1.045 MB / 1.139 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/1.045, allocations: 105 kB / 1.14 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.045, allocations: 82.19 kB / 1.14 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/1.046, allocations: 0.8637 MB / 1.14 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.046, allocations: 2.344 kB / 1.14 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/1.046, allocations: 35.03 kB / 1.141 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/1.047, allocations: 19.38 kB / 1.141 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/1.048, allocations: 0.6478 MB / 1.141 GB, free: 19.57 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.006035/1.054, allocations: 4.175 MB / 1.145 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/1.055, allocations: 0.7072 MB / 1.146 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008359/1.056, allocations: 413.3 kB / 1.146 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.499e-05/1.056, allocations: 9.719 kB / 1.146 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00085/1.057, allocations: 442.3 kB / 1.147 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.106e-06/1.057, allocations: 0.9062 kB / 1.147 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.006369/1.064, allocations: 2.107 MB / 1.149 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/1.064, allocations: 89.88 kB / 1.149 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/1.068, allocations: 3.204 MB / 1.152 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002065/1.068, allocations: 49.23 kB / 1.152 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/1.069, allocations: 0.9628 MB / 1.153 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/1.069, allocations: 253.6 kB / 1.153 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/1.069, allocations: 152.2 kB / 1.153 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.069, allocations: 347.8 kB / 1.154 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006604/1.07, allocations: 306.7 kB / 1.154 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/1.07, allocations: 472.8 kB / 1.154 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.072, allocations: 0.7398 MB / 1.155 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.072, allocations: 0 / 1.155 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002534/1.074, allocations: 1.231 MB / 1.156 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.074, allocations: 7.312 kB / 1.156 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.074, allocations: 6.844 kB / 1.156 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.075, allocations: 325.8 kB / 1.157 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/1.076, allocations: 133.1 kB / 1.157 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/1.082, allocations: 4.117 MB / 1.161 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/1.083, allocations: 112.5 kB / 1.161 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/1.083, allocations: 32.03 kB / 1.161 GB, free: 10.11 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.001289/1.085, allocations: 0.5936 MB / 1.162 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000587/1.085, allocations: 214.6 kB / 1.162 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/1.086, allocations: 252.5 kB / 1.162 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.086, allocations: 7.5 kB / 1.162 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.086, allocations: 2.688 kB / 1.162 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.086, allocations: 3.047 kB / 1.162 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005041/1.091, allocations: 2.409 MB / 1.164 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.091, allocations: 0 / 1.164 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/1.092, allocations: 65.95 kB / 1.164 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009256/1.093, allocations: 336.3 kB / 1.165 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/1.093, allocations: 28.98 kB / 1.165 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007021/1.1, allocations: 5.55 MB / 1.17 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.1, allocations: 0 / 1.17 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/1.103, allocations: 1.574 MB / 1.172 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/1.104, allocations: 314.2 kB / 1.172 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/1.104, allocations: 27.62 kB / 1.172 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/1.105, allocations: 48.12 kB / 1.172 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/1.105, allocations: 98.84 kB / 1.172 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/1.105, allocations: 30 kB / 1.172 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003283/1.109, allocations: 2.333 MB / 1.175 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/1.109, allocations: 0 / 1.175 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001432/1.11, allocations: 329.1 kB / 1.175 GB, free: 2.391 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.001364/1.111, allocations: 487.6 kB / 1.175 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003053/1.114, allocations: 1.1 MB / 1.176 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.114, allocations: 3.938 kB / 1.176 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.116, allocations: 0.77 MB / 1.177 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/1.118, allocations: 305.1 kB / 1.177 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008502/1.127, allocations: 4.752 MB / 1.182 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.128, allocations: 1.526 MB / 1.184 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/1.129, allocations: 70 kB / 1.184 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of SimCode: time 7.52e-07/1.129, allocations: 0 / 1.184 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of Templates: time 0.05045/1.179, allocations: 32.37 MB / 1.215 GB, free: 4.109 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