Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 106.4 kB / 15.99 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.001871/0.001871, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.246/2.246, allocations: 390.2 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.05 kB / 0.8127 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3035, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.7051/1.009, allocations: 155.3 MB / 1.101 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02678/1.035, allocations: 21.82 MB / 1.123 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/1.039, allocations: 52.19 kB / 1.123 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003212/1.042, allocations: 2.126 MB / 1.125 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003038/1.045, allocations: 1.398 MB / 1.126 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/1.047, allocations: 0.5478 MB / 1.127 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00348/1.05, allocations: 1.932 MB / 1.129 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/1.052, allocations: 1.132 MB / 1.13 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/1.054, allocations: 0.9276 MB / 1.131 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/1.056, allocations: 1.661 MB / 1.132 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000252/1.057, allocations: 96.53 kB / 1.132 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/1.057, allocations: 142.8 kB / 1.133 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007384/1.058, allocations: 0.5836 MB / 1.133 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/1.059, allocations: 0.8062 MB / 1.134 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/1.062, allocations: 1.469 MB / 1.135 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.062, allocations: 1.844 kB / 1.135 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.906e-06/1.062, allocations: 0.875 kB / 1.135 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.555e-05/1.062, allocations: 0 / 1.135 GB, free: 6.191 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004865/1.067, allocations: 2.354 MB / 1.138 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.067, allocations: 10.28 kB / 1.138 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/1.067, allocations: 238.1 kB / 1.138 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.069, allocations: 1.019 MB / 1.139 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/1.069, allocations: 98.09 kB / 1.139 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.069, allocations: 68.28 kB / 1.139 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/1.071, allocations: 0.7786 MB / 1.14 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/1.071, allocations: 8.938 kB / 1.14 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/1.071, allocations: 24.84 kB / 1.14 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/1.071, allocations: 16 kB / 1.14 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/1.072, allocations: 0.6364 MB / 1.14 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005753/1.078, allocations: 3.745 MB / 1.144 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/1.079, allocations: 0.746 MB / 1.145 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/1.08, allocations: 430.8 kB / 1.145 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.622e-05/1.08, allocations: 13.06 kB / 1.145 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009363/1.081, allocations: 448.8 kB / 1.146 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=73): time 3.075e-06/1.081, allocations: 0 / 1.146 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73): time 0.004564/1.086, allocations: 1.838 MB / 1.148 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/1.086, allocations: 60.84 kB / 1.148 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/1.09, allocations: 3.366 MB / 1.151 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/1.09, allocations: 43.48 kB / 1.151 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006792/1.091, allocations: 0.9271 MB / 1.152 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/1.091, allocations: 233 kB / 1.152 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/1.091, allocations: 138.7 kB / 1.152 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.091, allocations: 340.1 kB / 1.152 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006165/1.092, allocations: 320 kB / 1.153 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/1.093, allocations: 474.6 kB / 1.153 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/1.094, allocations: 0.7463 MB / 1.154 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.094, allocations: 2.312 kB / 1.154 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002464/1.096, allocations: 1.251 MB / 1.155 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.096, allocations: 6.594 kB / 1.155 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.096, allocations: 3.312 kB / 1.155 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007207/1.097, allocations: 261.2 kB / 1.155 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/1.098, allocations: 135.5 kB / 1.156 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004659/1.102, allocations: 4.767 MB / 1.16 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/1.104, allocations: 114.1 kB / 1.16 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.104, allocations: 28.45 kB / 1.16 GB, free: 10.16 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 2 systems {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001978/1.106, allocations: 0.6092 MB / 1.161 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000823/1.107, allocations: 216 kB / 1.161 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.108, allocations: 263.3 kB / 1.161 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/1.108, allocations: 10.84 kB / 1.161 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.131e-05/1.108, allocations: 7.156 kB / 1.161 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.108, allocations: 2.859 kB / 1.161 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005424/1.114, allocations: 2.402 MB / 1.164 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/1.114, allocations: 0 / 1.164 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/1.114, allocations: 73.03 kB / 1.164 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006243/1.115, allocations: 249.7 kB / 1.164 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/1.115, allocations: 23.7 kB / 1.164 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004795/1.12, allocations: 4.748 MB / 1.169 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.12, allocations: 2.344 kB / 1.169 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/1.123, allocations: 1.629 MB / 1.17 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008092/1.124, allocations: 323.7 kB / 1.171 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.124, allocations: 25.67 kB / 1.171 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/1.125, allocations: 42.84 kB / 1.171 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/1.125, allocations: 84.61 kB / 1.171 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/1.125, allocations: 24.98 kB / 1.171 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003664/1.129, allocations: 2.466 MB / 1.173 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.31e-07/1.129, allocations: 0 / 1.173 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001443/1.13, allocations: 303.2 kB / 1.174 GB, free: 2.914 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 2 systems {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/1.131, allocations: 488.5 kB / 1.174 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00262/1.134, allocations: 1.193 MB / 1.175 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.134, allocations: 0 / 1.175 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/1.135, allocations: 0.7082 MB / 1.176 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.137, allocations: 303.6 kB / 1.176 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008045/1.145, allocations: 4.732 MB / 1.181 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/1.147, allocations: 1.543 MB / 1.182 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/1.148, allocations: 76.16 kB / 1.182 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/1.148, allocations: 0 / 1.182 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of Templates: time 0.04954/1.197, allocations: 32.61 MB / 1.214 GB, free: 4.852 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches