Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase5,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.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_latest_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.001111/0.001111, allocations: 117 kB / 16.37 MB, free: 6.016 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.001123/0.001123, allocations: 192.6 kB / 17.3 MB, free: 5.613 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.185/2.185, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 54.44 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2472, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.5687/0.8159, allocations: 157.3 MB / 1.18 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02203/0.838, allocations: 22 MB / 1.202 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.8397, allocations: 60.75 kB / 1.202 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.8418, allocations: 2.153 MB / 1.204 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.8435, allocations: 1.424 MB / 1.205 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.8447, allocations: 0.5795 MB / 1.206 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.8461, allocations: 1.82 MB / 1.208 GB, free: 416 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000988/0.8471, allocations: 1.093 MB / 1.209 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007568/0.8478, allocations: 0.8806 MB / 1.21 GB, free: 15.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.8491, allocations: 1.545 MB / 1.211 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.8492, allocations: 93.94 kB / 1.211 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.8494, allocations: 128.6 kB / 1.211 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.8498, allocations: 0.524 MB / 1.212 GB, free: 14.26 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000519/0.8503, allocations: 0.763 MB / 1.213 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.8516, allocations: 1.866 MB / 1.214 GB, free: 12.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8516, allocations: 0 / 1.214 GB, free: 12.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8516, allocations: 0 / 1.214 GB, free: 12.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.8517, allocations: 0 / 1.214 GB, free: 12.4 MB / 0.92 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.002709/0.8544, allocations: 2.278 MB / 1.217 GB, free: 10.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.8544, allocations: 10.16 kB / 1.217 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.8546, allocations: 230.7 kB / 1.217 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.8558, allocations: 1.008 MB / 1.218 GB, free: 9.488 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.856, allocations: 95 kB / 1.218 GB, free: 9.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.193e-05/0.8561, allocations: 63.98 kB / 1.218 GB, free: 9.328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.8572, allocations: 0.729 MB / 1.219 GB, free: 8.586 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.8572, allocations: 0 / 1.219 GB, free: 8.586 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.8573, allocations: 28 kB / 1.219 GB, free: 8.559 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.8573, allocations: 16 kB / 1.219 GB, free: 8.543 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.8583, allocations: 0.5907 MB / 1.219 GB, free: 7.953 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004039/0.8623, allocations: 3.498 MB / 1.223 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.8636, allocations: 0.7221 MB / 1.223 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/0.8643, allocations: 413.3 kB / 1.224 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/0.8644, allocations: 16.53 kB / 1.224 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006793/0.865, allocations: 422.9 kB / 1.224 GB, free: 2.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.865, allocations: 0 / 1.224 GB, free: 2.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.003713/0.8688, allocations: 1.796 MB / 1.226 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.8688, allocations: 67.95 kB / 1.226 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.8717, allocations: 3.304 MB / 1.229 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.8718, allocations: 41.7 kB / 1.229 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/0.8724, allocations: 0.8898 MB / 1.23 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.8726, allocations: 220.8 kB / 1.23 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.8728, allocations: 130.7 kB / 1.231 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.8729, allocations: 338 kB / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.8734, allocations: 305.8 kB / 1.231 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.8741, allocations: 438.3 kB / 1.232 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.8752, allocations: 0.7188 MB / 1.232 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8752, allocations: 4 kB / 1.232 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001954/0.8771, allocations: 1.207 MB / 1.233 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.8772, allocations: 16.03 kB / 1.233 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8772, allocations: 0 / 1.233 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/0.8778, allocations: 265.4 kB / 1.234 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.8782, allocations: 139.8 kB / 1.234 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/0.8827, allocations: 4.758 MB / 1.239 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.8832, allocations: 91.31 kB / 1.239 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.8833, allocations: 28 kB / 1.239 GB, free: 3.414 MB / 0.9356 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006798/0.884, allocations: 0.6068 MB / 1.239 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.8841, allocations: 201.4 kB / 1.239 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.8845, allocations: 256.5 kB / 1.24 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.8845, allocations: 4 kB / 1.24 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.8845, allocations: 4 kB / 1.24 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.8845, allocations: 11.86 kB / 1.24 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.8877, allocations: 2.335 MB / 1.242 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.8877, allocations: 0 / 1.242 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.888, allocations: 71.89 kB / 1.242 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005349/0.8885, allocations: 251.6 kB / 1.242 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/0.8886, allocations: 15.98 kB / 1.242 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004266/0.8928, allocations: 4.756 MB / 1.247 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8929, allocations: 0 / 1.247 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.8952, allocations: 1.576 MB / 1.248 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.8956, allocations: 306.4 kB / 1.249 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.8958, allocations: 24 kB / 1.249 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.8962, allocations: 39.89 kB / 1.249 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.8963, allocations: 68.47 kB / 1.249 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.8964, allocations: 27.98 kB / 1.249 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002179/0.8985, allocations: 2.427 MB / 1.251 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8986, allocations: 0 / 1.251 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00076/0.8993, allocations: 287.4 kB / 1.252 GB, free: 5.754 MB / 0.9512 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 (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.0009972/0.9003, allocations: 0.4982 MB / 1.252 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.902, allocations: 1.071 MB / 1.253 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.902, allocations: 0 / 1.253 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.903, allocations: 0.6826 MB / 1.254 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.904, allocations: 276 kB / 1.254 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.9085, allocations: 3.998 MB / 1.258 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009982/0.9095, allocations: 1.524 MB / 1.259 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003291/0.9098, allocations: 146.4 kB / 1.26 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.91, allocations: 67.42 kB / 1.26 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.91, allocations: 0 / 1.26 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of Templates: time 0.02272/0.9327, allocations: 14.41 MB / 1.274 GB, free: 15.3 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches