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.001004/0.001004, allocations: 108 kB / 15.61 MB, free: 152 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.001023/0.001023, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.175/1.175, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.05/2.05, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.582/0.5832, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1536/0.7369, allocations: 157.5 MB / 1.103 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02364/0.7606, allocations: 22.06 MB / 1.125 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.7629, allocations: 59.69 kB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.7654, allocations: 2.171 MB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.7676, allocations: 1.448 MB / 1.129 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.7691, allocations: 0.6133 MB / 1.129 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.7707, allocations: 1.929 MB / 1.131 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.7718, allocations: 1.121 MB / 1.132 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007755/0.7725, allocations: 0.9153 MB / 1.133 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.7739, allocations: 1.592 MB / 1.135 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.7741, allocations: 99.94 kB / 1.135 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.7743, allocations: 140 kB / 1.135 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.7747, allocations: 0.5472 MB / 1.135 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.7753, allocations: 0.8107 MB / 1.136 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.7767, allocations: 1.891 MB / 1.138 GB, free: 296 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7767, allocations: 0 / 1.138 GB, free: 296 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7767, allocations: 4 kB / 1.138 GB, free: 292 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.7767, allocations: 0 / 1.138 GB, free: 292 kB / 0.8887 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.002886/0.7796, allocations: 2.362 MB / 1.14 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.7797, allocations: 8.031 kB / 1.14 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.7799, allocations: 237.9 kB / 1.141 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.781, allocations: 1.034 MB / 1.142 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.7811, allocations: 91 kB / 1.142 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-05/0.7812, allocations: 68 kB / 1.142 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.7824, allocations: 0.7845 MB / 1.142 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.7825, allocations: 3.938 kB / 1.142 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.7825, allocations: 28 kB / 1.142 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.7825, allocations: 16 kB / 1.142 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.7836, allocations: 0.6336 MB / 1.143 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004273/0.7879, allocations: 3.741 MB / 1.147 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.7893, allocations: 0.7411 MB / 1.147 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.79, allocations: 434 kB / 1.148 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.7901, allocations: 12.56 kB / 1.148 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007264/0.7908, allocations: 444.1 kB / 1.148 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=73): time 2.665e-06/0.7908, allocations: 0 / 1.148 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73): time 0.003738/0.7946, allocations: 1.834 MB / 1.15 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.7946, allocations: 67.94 kB / 1.15 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.7975, allocations: 3.367 MB / 1.153 GB, free: 15.88 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.7976, allocations: 45.7 kB / 1.154 GB, free: 15.83 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006594/0.7983, allocations: 0.9252 MB / 1.154 GB, free: 14.9 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.7984, allocations: 232.7 kB / 1.155 GB, free: 14.67 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.7986, allocations: 138.7 kB / 1.155 GB, free: 14.53 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.7987, allocations: 337.9 kB / 1.155 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/0.7993, allocations: 325.8 kB / 1.155 GB, free: 13.87 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.8, allocations: 472 kB / 1.156 GB, free: 13.36 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.8012, allocations: 0.7417 MB / 1.157 GB, free: 12.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8012, allocations: 4 kB / 1.157 GB, free: 12.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002021/0.8032, allocations: 1.253 MB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8033, allocations: 8 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8033, allocations: 4 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.8039, allocations: 265.5 kB / 1.158 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.8044, allocations: 135.7 kB / 1.158 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/0.8087, allocations: 4.758 MB / 1.163 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.8093, allocations: 103.2 kB / 1.163 GB, free: 5.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.8093, allocations: 31.98 kB / 1.163 GB, free: 5.73 MB / 0.92 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.0006857/0.81, allocations: 0.603 MB / 1.164 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.8102, allocations: 213.3 kB / 1.164 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.8105, allocations: 257.1 kB / 1.164 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.8105, allocations: 15.94 kB / 1.164 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.8106, allocations: 4 kB / 1.164 GB, free: 4.633 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.8106, allocations: 3.984 kB / 1.164 GB, free: 4.629 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.8137, allocations: 2.408 MB / 1.166 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.8138, allocations: 0 / 1.166 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.8141, allocations: 71.89 kB / 1.166 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/0.8146, allocations: 245.5 kB / 1.167 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.8147, allocations: 23.98 kB / 1.167 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/0.8187, allocations: 4.749 MB / 1.171 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8187, allocations: 7.922 kB / 1.171 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.8211, allocations: 1.629 MB / 1.173 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.8215, allocations: 334.1 kB / 1.173 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.8216, allocations: 16.23 kB / 1.173 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.822, allocations: 39.95 kB / 1.173 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.8222, allocations: 76.55 kB / 1.173 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.8223, allocations: 35.97 kB / 1.173 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00221/0.8245, allocations: 2.46 MB / 1.176 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8245, allocations: 0 / 1.176 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008342/0.8253, allocations: 295.5 kB / 1.176 GB, free: 7.848 MB / 0.9356 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.001061/0.8264, allocations: 490 kB / 1.177 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.8285, allocations: 1.194 MB / 1.178 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8285, allocations: 8.062 kB / 1.178 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.8295, allocations: 0.6982 MB / 1.178 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.8306, allocations: 306.3 kB / 1.179 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.8357, allocations: 4.14 MB / 1.183 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.8368, allocations: 1.548 MB / 1.184 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003967/0.8372, allocations: 158.6 kB / 1.184 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.8373, allocations: 71.42 kB / 1.185 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.8374, allocations: 0 / 1.185 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of Templates: time 0.02467/0.862, allocations: 15.07 MB / 1.199 GB, free: 456 kB / 0.9512 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/jenkins/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