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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001146/0.001146, allocations: 172.9 kB / 487.4 MB, free: 5.039 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.389/1.389, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009289, allocations: 95.77 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.355e-05/1.358e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2801, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.771/5.052, allocations: 2.188 GB / 3.394 GB, free: 122.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/5.052, allocations: 88.36 kB / 3.394 GB, free: 122 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1366/5.188, allocations: 72.78 MB / 3.465 GB, free: 53.76 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.112e-06/5.189, allocations: 0 / 3.465 GB, free: 53.76 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001283/5.189, allocations: 47.92 kB / 3.466 GB, free: 53.71 MB / 1.151 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.002391/5.191, allocations: 1.809 MB / 3.467 GB, free: 51.85 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/5.191, allocations: 8.031 kB / 3.467 GB, free: 51.84 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/5.191, allocations: 237.1 kB / 3.468 GB, free: 51.61 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/5.195, allocations: 1.851 MB / 3.469 GB, free: 49.69 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/5.195, allocations: 67 kB / 3.469 GB, free: 49.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/5.195, allocations: 39.91 kB / 3.469 GB, free: 49.58 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006991/5.195, allocations: 486.4 kB / 3.47 GB, free: 49.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/5.196, allocations: 0.5899 MB / 3.47 GB, free: 48.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/5.196, allocations: 0 / 3.47 GB, free: 48.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/5.196, allocations: 4 kB / 3.47 GB, free: 48.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/5.196, allocations: 12 kB / 3.47 GB, free: 48.49 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/5.2, allocations: 3.572 MB / 3.474 GB, free: 44.66 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008576/5.201, allocations: 0.5922 MB / 3.475 GB, free: 44.07 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/5.202, allocations: 342.8 kB / 3.475 GB, free: 43.73 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/5.202, allocations: 8.562 kB / 3.475 GB, free: 43.72 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004601/5.202, allocations: 361.9 kB / 3.475 GB, free: 43.35 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 2.585e-06/5.202, allocations: 0 / 3.475 GB, free: 43.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.001391/5.204, allocations: 0.9434 MB / 3.476 GB, free: 42.39 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/5.204, allocations: 67.95 kB / 3.476 GB, free: 42.31 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003352/5.207, allocations: 2.798 MB / 3.479 GB, free: 39.49 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/5.207, allocations: 29.7 kB / 3.479 GB, free: 39.45 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/5.207, allocations: 0.8857 MB / 3.48 GB, free: 38.56 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/5.208, allocations: 217 kB / 3.48 GB, free: 38.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/5.208, allocations: 0 / 3.48 GB, free: 38.34 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/5.208, allocations: 334 kB / 3.48 GB, free: 38.01 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/5.208, allocations: 229.5 kB / 3.481 GB, free: 37.79 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/5.208, allocations: 355.5 kB / 3.481 GB, free: 37.39 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/5.209, allocations: 275.4 kB / 3.481 GB, free: 37.12 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/5.209, allocations: 0 / 3.481 GB, free: 37.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001339/5.21, allocations: 1.03 MB / 3.482 GB, free: 36.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/5.21, allocations: 11.95 kB / 3.482 GB, free: 36.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/5.21, allocations: 8 kB / 3.482 GB, free: 36.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/5.211, allocations: 269.4 kB / 3.482 GB, free: 35.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/5.211, allocations: 147.7 kB / 3.483 GB, free: 35.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/5.215, allocations: 4.465 MB / 3.487 GB, free: 30.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/5.215, allocations: 103.4 kB / 3.487 GB, free: 30.86 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/5.215, allocations: 28 kB / 3.487 GB, free: 30.83 MB / 1.151 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.0001445/5.216, allocations: 136.1 kB / 3.487 GB, free: 30.69 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/5.216, allocations: 217.4 kB / 3.487 GB, free: 30.48 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/5.217, allocations: 1.042 MB / 3.488 GB, free: 29.41 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/5.217, allocations: 8 kB / 3.488 GB, free: 29.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/5.217, allocations: 4 kB / 3.488 GB, free: 29.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/5.217, allocations: 3.984 kB / 3.488 GB, free: 29.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/5.221, allocations: 2.611 MB / 3.491 GB, free: 26.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/5.221, allocations: 12 kB / 3.491 GB, free: 26.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/5.221, allocations: 75.89 kB / 3.491 GB, free: 26.65 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000536/5.221, allocations: 255.8 kB / 3.491 GB, free: 26.39 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/5.221, allocations: 11.98 kB / 3.491 GB, free: 26.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/5.225, allocations: 4.458 MB / 3.496 GB, free: 21.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.225, allocations: 0 / 3.496 GB, free: 21.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/5.227, allocations: 1.433 MB / 3.497 GB, free: 20.23 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008027/5.228, allocations: 494.2 kB / 3.498 GB, free: 19.73 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003447/5.228, allocations: 15.98 kB / 3.498 GB, free: 19.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/5.229, allocations: 55.89 kB / 3.498 GB, free: 19.66 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/5.229, allocations: 76.66 kB / 3.498 GB, free: 19.58 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/5.229, allocations: 27.92 kB / 3.498 GB, free: 19.55 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002924/5.232, allocations: 2.208 MB / 3.5 GB, free: 17.33 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.232, allocations: 0 / 3.5 GB, free: 17.33 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001432/5.233, allocations: 427.5 kB / 3.5 GB, free: 16.91 MB / 1.151 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.001481/5.235, allocations: 0.9913 MB / 3.501 GB, free: 16.02 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00139/5.236, allocations: 0.9171 MB / 3.502 GB, free: 15.08 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.236, allocations: 0 / 3.502 GB, free: 15.08 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007292/5.237, allocations: 0.6305 MB / 3.503 GB, free: 14.44 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/5.238, allocations: 243.3 kB / 3.503 GB, free: 14.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/5.243, allocations: 3.558 MB / 3.507 GB, free: 10.59 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/5.244, allocations: 1.567 MB / 3.508 GB, free: 8.992 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004796/5.245, allocations: 253.8 kB / 3.508 GB, free: 8.742 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/5.245, allocations: 107.4 kB / 3.508 GB, free: 8.637 MB / 1.151 GB Notification: Performance of SimCode: time 3.21e-07/5.245, allocations: 0 / 3.508 GB, free: 8.637 MB / 1.151 GB Notification: Performance of Templates: time 0.5517/5.797, allocations: 18.86 MB / 3.527 GB, free: 376.6 MB / 1.151 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","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches