Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.656/2.656, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001358/0.001358, allocations: 175.3 kB / 498.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.865/1.865, allocations: 223.2 MB / 0.7949 GB, free: 17.84 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.00102/0.00102, allocations: 98.91 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005662/0.0005663, allocations: 6.906 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3804, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.857/6.238, allocations: 2.188 GB / 3.411 GB, free: 299 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004237/6.238, allocations: 101.4 kB / 3.411 GB, free: 298.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1344/6.373, allocations: 65.22 MB / 3.475 GB, free: 233.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.114e-06/6.373, allocations: 0 / 3.475 GB, free: 233.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001769/6.373, allocations: 24 kB / 3.475 GB, free: 233.2 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00376/6.377, allocations: 1.442 MB / 3.476 GB, free: 231.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/6.377, allocations: 8.031 kB / 3.476 GB, free: 231.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/6.378, allocations: 134.4 kB / 3.477 GB, free: 231.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/6.382, allocations: 1.494 MB / 3.478 GB, free: 230 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/6.382, allocations: 78.69 kB / 3.478 GB, free: 229.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/6.383, allocations: 44 kB / 3.478 GB, free: 229.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/6.384, allocations: 0.5028 MB / 3.479 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/6.384, allocations: 8 kB / 3.479 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/6.384, allocations: 16 kB / 3.479 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/6.384, allocations: 11.94 kB / 3.479 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/6.385, allocations: 415.7 kB / 3.479 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004877/6.39, allocations: 2.661 MB / 3.482 GB, free: 226 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009899/6.391, allocations: 446.4 kB / 3.482 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/6.391, allocations: 4.328 kB / 3.482 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005334/6.391, allocations: 283.5 kB / 3.482 GB, free: 225.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 4.438e-06/6.391, allocations: 0 / 3.482 GB, free: 225.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.002798/6.394, allocations: 1.172 MB / 3.483 GB, free: 224.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/6.394, allocations: 55.41 kB / 3.484 GB, free: 224 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/6.397, allocations: 1.558 MB / 3.485 GB, free: 222.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/6.397, allocations: 41.69 kB / 3.485 GB, free: 222.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/6.397, allocations: 0.5249 MB / 3.486 GB, free: 221.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/6.397, allocations: 153.9 kB / 3.486 GB, free: 221.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/6.397, allocations: 8 kB / 3.486 GB, free: 221.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/6.397, allocations: 333.9 kB / 3.486 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/6.398, allocations: 221 kB / 3.486 GB, free: 221.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/6.398, allocations: 359.1 kB / 3.487 GB, free: 220.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/6.399, allocations: 254.7 kB / 3.487 GB, free: 220.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/6.399, allocations: 0 / 3.487 GB, free: 220.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001442/6.4, allocations: 0.8442 MB / 3.488 GB, free: 219.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/6.4, allocations: 8 kB / 3.488 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/6.4, allocations: 4 kB / 3.488 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/6.401, allocations: 146.2 kB / 3.488 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/6.401, allocations: 107.8 kB / 3.488 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/6.404, allocations: 2.516 MB / 3.49 GB, free: 216.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/6.404, allocations: 103.4 kB / 3.49 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/6.404, allocations: 20 kB / 3.491 GB, free: 216.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006653/6.405, allocations: 387.2 kB / 3.491 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/6.405, allocations: 126.5 kB / 3.491 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/6.406, allocations: 0.7245 MB / 3.492 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/6.406, allocations: 4 kB / 3.492 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/6.406, allocations: 4 kB / 3.492 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/6.406, allocations: 3.984 kB / 3.492 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/6.409, allocations: 1.734 MB / 3.493 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/6.409, allocations: 0 / 3.493 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/6.409, allocations: 51.91 kB / 3.493 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/6.41, allocations: 165.5 kB / 3.494 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/6.41, allocations: 12 kB / 3.494 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/6.412, allocations: 3.727 MB / 3.497 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/6.412, allocations: 4 kB / 3.497 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/6.414, allocations: 1.006 MB / 3.498 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/6.415, allocations: 303.4 kB / 3.499 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/6.415, allocations: 15.98 kB / 3.499 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/6.415, allocations: 43.97 kB / 3.499 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/6.415, allocations: 59.84 kB / 3.499 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/6.415, allocations: 15.98 kB / 3.499 GB, free: 207.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001492/6.417, allocations: 1.25 MB / 3.5 GB, free: 206.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.417, allocations: 0 / 3.5 GB, free: 206.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001166/6.418, allocations: 307.6 kB / 3.5 GB, free: 206.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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001933/6.42, allocations: 0.9715 MB / 3.501 GB, free: 205.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001501/6.422, allocations: 0.7059 MB / 3.502 GB, free: 204.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/6.422, allocations: 4 kB / 3.502 GB, free: 204.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007437/6.422, allocations: 0.5288 MB / 3.502 GB, free: 204.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/6.423, allocations: 182 kB / 3.503 GB, free: 204.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/6.427, allocations: 2.775 MB / 3.505 GB, free: 201.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/6.428, allocations: 1.177 MB / 3.506 GB, free: 200.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004166/6.428, allocations: 148.7 kB / 3.507 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/6.428, allocations: 63.44 kB / 3.507 GB, free: 199.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.332e-06/6.428, allocations: 0 / 3.507 GB, free: 199.8 MB / 1.167 GB Notification: Performance of Templates: time 0.02817/6.457, allocations: 18.43 MB / 3.525 GB, free: 181.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches