Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002014/0.002015, allocations: 178.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 91.72 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.225e-05/4.228e-05, allocations: 0 / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2729, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.125/8.398, allocations: 2.469 GB / 3.361 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/8.398, allocations: 100 kB / 3.361 GB, free: 183 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1707/8.569, allocations: 83.02 MB / 3.442 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.707e-06/8.569, allocations: 0 / 3.442 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002435/8.569, allocations: 59.94 kB / 3.442 GB, free: 106.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.006262/8.575, allocations: 2.505 MB / 3.444 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.751e-05/8.575, allocations: 12.03 kB / 3.444 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/8.577, allocations: 352 kB / 3.445 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007125/8.584, allocations: 2.577 MB / 3.447 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/8.584, allocations: 119.7 kB / 3.447 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/8.584, allocations: 88 kB / 3.447 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/8.586, allocations: 0.9422 MB / 3.448 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/8.586, allocations: 0 / 3.448 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/8.586, allocations: 32 kB / 3.448 GB, free: 99.47 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/8.586, allocations: 20 kB / 3.448 GB, free: 99.45 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/8.587, allocations: 0.7731 MB / 3.449 GB, free: 98.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008515/8.596, allocations: 4.887 MB / 3.454 GB, free: 93.52 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/8.597, allocations: 0.9338 MB / 3.455 GB, free: 92.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007289/8.598, allocations: 0.5191 MB / 3.455 GB, free: 92.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.293e-05/8.598, allocations: 16.77 kB / 3.455 GB, free: 92.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008356/8.599, allocations: 0.567 MB / 3.456 GB, free: 91.46 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 4.188e-06/8.599, allocations: 3.938 kB / 3.456 GB, free: 91.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.003087/8.602, allocations: 1.491 MB / 3.457 GB, free: 89.95 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/8.602, allocations: 68.41 kB / 3.457 GB, free: 89.87 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007857/8.61, allocations: 4.509 MB / 3.462 GB, free: 85.37 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003751/8.611, allocations: 57.7 kB / 3.462 GB, free: 85.31 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/8.612, allocations: 1.349 MB / 3.463 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/8.612, allocations: 335.3 kB / 3.464 GB, free: 83.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/8.612, allocations: 20 kB / 3.464 GB, free: 83.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001049/8.612, allocations: 353.9 kB / 3.464 GB, free: 83.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/8.613, allocations: 370.5 kB / 3.464 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/8.613, allocations: 0.542 MB / 3.465 GB, free: 82.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/8.614, allocations: 436.2 kB / 3.465 GB, free: 81.86 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/8.614, allocations: 8 kB / 3.465 GB, free: 81.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003053/8.617, allocations: 1.598 MB / 3.467 GB, free: 80.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/8.617, allocations: 4 kB / 3.467 GB, free: 80.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/8.617, allocations: 4 kB / 3.467 GB, free: 80.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008862/8.618, allocations: 353.8 kB / 3.467 GB, free: 79.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/8.619, allocations: 191.7 kB / 3.467 GB, free: 79.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0049/8.624, allocations: 4.984 MB / 3.472 GB, free: 74.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/8.626, allocations: 155.1 kB / 3.472 GB, free: 74.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/8.626, allocations: 39.98 kB / 3.472 GB, free: 74.27 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003176/8.626, allocations: 186.6 kB / 3.473 GB, free: 74.08 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/8.627, allocations: 328 kB / 3.473 GB, free: 73.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/8.631, allocations: 1.683 MB / 3.474 GB, free: 72.06 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/8.631, allocations: 11.98 kB / 3.475 GB, free: 72.05 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/8.631, allocations: 11.94 kB / 3.475 GB, free: 72.04 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/8.631, allocations: 11.94 kB / 3.475 GB, free: 72.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008775/8.639, allocations: 4.085 MB / 3.479 GB, free: 67.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/8.639, allocations: 0 / 3.479 GB, free: 67.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/8.64, allocations: 127.9 kB / 3.479 GB, free: 67.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008383/8.641, allocations: 333.4 kB / 3.479 GB, free: 67.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-05/8.641, allocations: 31.98 kB / 3.479 GB, free: 67.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/8.646, allocations: 4.968 MB / 3.484 GB, free: 62.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/8.646, allocations: 3.953 kB / 3.484 GB, free: 62.14 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/8.651, allocations: 2.242 MB / 3.486 GB, free: 59.87 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/8.653, allocations: 0.7193 MB / 3.487 GB, free: 59.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009776/8.654, allocations: 35.98 kB / 3.487 GB, free: 59.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/8.655, allocations: 83.94 kB / 3.487 GB, free: 59.01 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/8.656, allocations: 112.8 kB / 3.487 GB, free: 58.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-05/8.656, allocations: 31.98 kB / 3.487 GB, free: 58.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.007336/8.663, allocations: 3.593 MB / 3.49 GB, free: 55.29 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.01e-07/8.663, allocations: 0 / 3.49 GB, free: 55.29 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003371/8.667, allocations: 0.6244 MB / 3.491 GB, free: 54.66 MB / 0.8698 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: 26 ($whenCondition9,$whenCondition8,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002237/8.669, allocations: 0.9447 MB / 3.492 GB, free: 53.81 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00283/8.672, allocations: 1.332 MB / 3.493 GB, free: 52.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/8.672, allocations: 4.25 kB / 3.493 GB, free: 52.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/8.673, allocations: 0.8771 MB / 3.494 GB, free: 51.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/8.676, allocations: 352.3 kB / 3.495 GB, free: 51.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/8.688, allocations: 5.386 MB / 3.5 GB, free: 45.78 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002856/8.691, allocations: 2.022 MB / 3.502 GB, free: 43.73 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001552/8.693, allocations: 392.2 kB / 3.502 GB, free: 43.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008811/8.693, allocations: 155.3 kB / 3.502 GB, free: 43.19 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/8.694, allocations: 4 kB / 3.502 GB, free: 43.18 MB / 0.8698 GB Notification: Performance of Templates: time 0.062/8.756, allocations: 33.62 MB / 3.535 GB, free: 9.621 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches