Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008705/0.0008705, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009535/0.0009536, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.9 MB / 0.666 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003519, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7935, allocations: 142.4 MB / 0.9544 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1873/0.9809, allocations: 142.6 MB / 1.094 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02864/1.01, allocations: 20.49 MB / 1.114 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/1.012, allocations: 51.69 kB / 1.114 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002866/1.015, allocations: 2.07 MB / 1.116 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/1.018, allocations: 1.32 MB / 1.117 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/1.02, allocations: 463.4 kB / 1.118 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002603/1.022, allocations: 1.66 MB / 1.119 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/1.024, allocations: 0.8114 MB / 1.12 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/1.025, allocations: 0.7514 MB / 1.121 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/1.027, allocations: 1.28 MB / 1.122 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002299/1.027, allocations: 40 kB / 1.122 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/1.028, allocations: 76 kB / 1.122 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005242/1.028, allocations: 0.4905 MB / 1.123 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004079/1.029, allocations: 308.6 kB / 1.123 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/1.03, allocations: 1.364 MB / 1.124 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.03, allocations: 0 / 1.124 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.974e-06/1.03, allocations: 0 / 1.124 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.544e-05/1.03, allocations: 0 / 1.124 GB, free: 1.234 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003706/1.034, allocations: 2.029 MB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.034, allocations: 15.97 kB / 1.126 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/1.035, allocations: 229 kB / 1.126 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/1.036, allocations: 0.9074 MB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/1.036, allocations: 98.94 kB / 1.127 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/1.036, allocations: 67.94 kB / 1.127 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/1.038, allocations: 0.7329 MB / 1.128 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/1.038, allocations: 4 kB / 1.128 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/1.038, allocations: 27.98 kB / 1.128 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/1.038, allocations: 19.95 kB / 1.128 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/1.039, allocations: 0.6024 MB / 1.129 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004873/1.044, allocations: 3.564 MB / 1.132 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/1.045, allocations: 0.7386 MB / 1.133 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/1.046, allocations: 415.6 kB / 1.133 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/1.046, allocations: 12.56 kB / 1.133 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008129/1.047, allocations: 442.7 kB / 1.134 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/1.047, allocations: 0 / 1.134 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.004192/1.051, allocations: 1.812 MB / 1.136 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/1.051, allocations: 63.97 kB / 1.136 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/1.055, allocations: 3.304 MB / 1.139 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/1.055, allocations: 41.7 kB / 1.139 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007686/1.056, allocations: 0.8899 MB / 1.14 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/1.056, allocations: 224.8 kB / 1.14 GB, free: 500 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/1.056, allocations: 19.94 kB / 1.14 GB, free: 480 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.056, allocations: 337.9 kB / 1.14 GB, free: 136 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/1.057, allocations: 325.9 kB / 1.141 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/1.058, allocations: 454.3 kB / 1.141 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/1.059, allocations: 359.6 kB / 1.141 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.059, allocations: 7.938 kB / 1.141 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002316/1.061, allocations: 1.236 MB / 1.143 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.061, allocations: 8 kB / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.061, allocations: 7.938 kB / 1.143 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000727/1.062, allocations: 255.5 kB / 1.143 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/1.062, allocations: 139.8 kB / 1.143 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/1.067, allocations: 4.386 MB / 1.147 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/1.068, allocations: 111.4 kB / 1.147 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/1.068, allocations: 24 kB / 1.147 GB, free: 8.531 MB / 0.9044 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009786/1.069, allocations: 0.6105 MB / 1.148 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/1.069, allocations: 205.3 kB / 1.148 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/1.07, allocations: 252.5 kB / 1.148 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.07, allocations: 8 kB / 1.148 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.493e-05/1.07, allocations: 4 kB / 1.148 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.07, allocations: 3.984 kB / 1.148 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004044/1.074, allocations: 2.362 MB / 1.151 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.074, allocations: 4 kB / 1.151 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/1.074, allocations: 67.89 kB / 1.151 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006293/1.075, allocations: 257.5 kB / 1.151 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/1.075, allocations: 19.98 kB / 1.151 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/1.08, allocations: 4.357 MB / 1.155 GB, free: 44 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.08, allocations: 3.984 kB / 1.155 GB, free: 40 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/1.082, allocations: 1.59 MB / 1.157 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/1.083, allocations: 326.5 kB / 1.157 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/1.083, allocations: 19.98 kB / 1.157 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/1.083, allocations: 55.89 kB / 1.157 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/1.084, allocations: 84.36 kB / 1.157 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/1.084, allocations: 23.98 kB / 1.157 GB, free: 13.91 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003012/1.087, allocations: 2.427 MB / 1.16 GB, free: 11.46 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.087, allocations: 0 / 1.16 GB, free: 11.46 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001085/1.088, allocations: 292.3 kB / 1.16 GB, free: 11.18 MB / 0.92 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/1.089, allocations: 492.9 kB / 1.161 GB, free: 10.88 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002083/1.091, allocations: 1.086 MB / 1.162 GB, free: 9.766 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.091, allocations: 0 / 1.162 GB, free: 9.766 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/1.092, allocations: 0.6982 MB / 1.162 GB, free: 9.043 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/1.094, allocations: 263.8 kB / 1.163 GB, free: 8.785 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/1.1, allocations: 4.428 MB / 1.167 GB, free: 4.32 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.101, allocations: 1.532 MB / 1.168 GB, free: 2.758 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004988/1.102, allocations: 150.4 kB / 1.168 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/1.102, allocations: 67.41 kB / 1.169 GB, free: 2.539 MB / 0.92 GB Notification: Performance of SimCode: time 5.11e-07/1.102, allocations: 0 / 1.169 GB, free: 2.539 MB / 0.92 GB Notification: Performance of Templates: time 0.02873/1.131, allocations: 12.91 MB / 1.181 GB, free: 5.797 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches