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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 390.3 MB / 402.8 MB, free: 6.648 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.3 MB / 0.7915 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008907, allocations: 99.92 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.793e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3149, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.824/7.139, allocations: 2.19 GB / 3.409 GB, free: 75.26 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/7.14, allocations: 91.94 kB / 3.409 GB, free: 75.17 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1522/7.292, allocations: 73.71 MB / 3.481 GB, free: 0.8672 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.475e-06/7.292, allocations: 0 / 3.481 GB, free: 0.8672 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003617/7.292, allocations: 40 kB / 3.481 GB, free: 0.8281 MB / 1.167 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.9721/8.265, allocations: 1.799 MB / 3.482 GB, free: 319.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/8.265, allocations: 9.875 kB / 3.482 GB, free: 319.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008532/8.265, allocations: 236.1 kB / 3.483 GB, free: 319.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005977/8.271, allocations: 1.858 MB / 3.485 GB, free: 319.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/8.272, allocations: 98.8 kB / 3.485 GB, free: 319.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/8.272, allocations: 64.52 kB / 3.485 GB, free: 319.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/8.274, allocations: 0.6605 MB / 3.485 GB, free: 319.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/8.274, allocations: 3.688 kB / 3.485 GB, free: 319.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/8.274, allocations: 33.8 kB / 3.485 GB, free: 319.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/8.274, allocations: 16.41 kB / 3.485 GB, free: 319.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/8.275, allocations: 0.5068 MB / 3.486 GB, free: 319.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008251/8.283, allocations: 3.697 MB / 3.489 GB, free: 317.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/8.285, allocations: 0.6252 MB / 3.49 GB, free: 317.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/8.286, allocations: 360.4 kB / 3.49 GB, free: 317.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/8.286, allocations: 8 kB / 3.49 GB, free: 317.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008918/8.287, allocations: 388.7 kB / 3.491 GB, free: 317.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=69): time 4.188e-06/8.287, allocations: 0 / 3.491 GB, free: 317.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=69): time 0.002392/8.289, allocations: 0.9904 MB / 3.492 GB, free: 317.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/8.289, allocations: 64.16 kB / 3.492 GB, free: 317.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00541/8.295, allocations: 2.927 MB / 3.495 GB, free: 317.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/8.295, allocations: 48.78 kB / 3.495 GB, free: 317 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008122/8.296, allocations: 0.8969 MB / 3.496 GB, free: 316.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/8.296, allocations: 219 kB / 3.496 GB, free: 316.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/8.296, allocations: 19.41 kB / 3.496 GB, free: 316.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/8.296, allocations: 332 kB / 3.496 GB, free: 316.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/8.296, allocations: 247 kB / 3.496 GB, free: 316.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/8.297, allocations: 370.3 kB / 3.497 GB, free: 316.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/8.298, allocations: 293.6 kB / 3.497 GB, free: 316.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/8.298, allocations: 1.188 kB / 3.497 GB, free: 316.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002442/8.3, allocations: 1.109 MB / 3.498 GB, free: 316.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/8.3, allocations: 8.375 kB / 3.498 GB, free: 316.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/8.3, allocations: 3.516 kB / 3.498 GB, free: 316.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008241/8.301, allocations: 292.4 kB / 3.498 GB, free: 316.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/8.301, allocations: 141.5 kB / 3.499 GB, free: 316.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/8.306, allocations: 4.63 MB / 3.503 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/8.307, allocations: 121.2 kB / 3.503 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/8.307, allocations: 34.7 kB / 3.503 GB, free: 313.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002235/8.308, allocations: 165 kB / 3.503 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/8.308, allocations: 215.7 kB / 3.504 GB, free: 313.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/8.31, allocations: 1.116 MB / 3.505 GB, free: 313.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/8.31, allocations: 7.812 kB / 3.505 GB, free: 313.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/8.31, allocations: 8.094 kB / 3.505 GB, free: 313.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/8.31, allocations: 3.609 kB / 3.505 GB, free: 313.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/8.317, allocations: 2.768 MB / 3.507 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/8.317, allocations: 0.6875 kB / 3.507 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/8.317, allocations: 79.27 kB / 3.507 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007866/8.318, allocations: 268.8 kB / 3.508 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/8.318, allocations: 18.7 kB / 3.508 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004695/8.323, allocations: 4.62 MB / 3.512 GB, free: 310 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/8.323, allocations: 0 / 3.512 GB, free: 310 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/8.325, allocations: 1.495 MB / 3.514 GB, free: 309.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/8.326, allocations: 0.4899 MB / 3.514 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/8.327, allocations: 26.45 kB / 3.514 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/8.327, allocations: 61.41 kB / 3.514 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/8.327, allocations: 81.98 kB / 3.514 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/8.327, allocations: 26.33 kB / 3.514 GB, free: 309.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003677/8.331, allocations: 2.329 MB / 3.517 GB, free: 309.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/8.331, allocations: 2.906 kB / 3.517 GB, free: 309.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001913/8.333, allocations: 462.6 kB / 3.517 GB, free: 309.3 MB / 1.167 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) * 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 (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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002067/8.335, allocations: 0.9159 MB / 3.518 GB, free: 309.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002056/8.337, allocations: 0.9846 MB / 3.519 GB, free: 308.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/8.337, allocations: 0.75 kB / 3.519 GB, free: 308.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/8.338, allocations: 0.671 MB / 3.52 GB, free: 308.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/8.34, allocations: 248 kB / 3.52 GB, free: 308.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007398/8.348, allocations: 3.607 MB / 3.523 GB, free: 307.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/8.349, allocations: 1.57 MB / 3.525 GB, free: 307.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000965/8.35, allocations: 255.1 kB / 3.525 GB, free: 307.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/8.35, allocations: 106.2 kB / 3.525 GB, free: 307.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.293e-06/8.35, allocations: 0 / 3.525 GB, free: 307.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05663/8.407, allocations: 26.38 MB / 3.551 GB, free: 305.6 MB / 1.167 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 -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","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches