Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.00104/0.00104, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.537/1.537, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.0008358/0.0008359, allocations: 99.81 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.969e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3272, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.316/7.643, allocations: 2.189 GB / 3.401 GB, free: 89.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/7.644, allocations: 98.91 kB / 3.401 GB, free: 89.64 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1371/7.781, allocations: 68.24 MB / 3.468 GB, free: 24.55 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.723e-06/7.781, allocations: 0 / 3.468 GB, free: 24.55 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.425e-05/7.781, allocations: 35.92 kB / 3.468 GB, free: 24.52 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002053/7.783, allocations: 1.373 MB / 3.469 GB, free: 23.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/7.783, allocations: 8.031 kB / 3.469 GB, free: 23.08 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/7.783, allocations: 162 kB / 3.469 GB, free: 22.92 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/7.787, allocations: 1.564 MB / 3.471 GB, free: 21.31 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/7.787, allocations: 78.69 kB / 3.471 GB, free: 21.22 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/7.787, allocations: 55.91 kB / 3.471 GB, free: 21.17 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00086/7.788, allocations: 0.5224 MB / 3.471 GB, free: 20.63 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/7.788, allocations: 0 / 3.471 GB, free: 20.63 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/7.788, allocations: 20 kB / 3.471 GB, free: 20.61 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/7.788, allocations: 12 kB / 3.471 GB, free: 20.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00059/7.788, allocations: 375.8 kB / 3.472 GB, free: 20.23 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/7.792, allocations: 2.951 MB / 3.475 GB, free: 17.05 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/7.793, allocations: 434.2 kB / 3.475 GB, free: 16.62 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/7.793, allocations: 274.5 kB / 3.475 GB, free: 16.35 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/7.793, allocations: 8.359 kB / 3.475 GB, free: 16.34 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004309/7.794, allocations: 297.1 kB / 3.476 GB, free: 16.04 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 3.476e-06/7.794, allocations: 0 / 3.476 GB, free: 16.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.001296/7.795, allocations: 0.7027 MB / 3.476 GB, free: 15.32 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/7.795, allocations: 63.83 kB / 3.476 GB, free: 15.25 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/7.798, allocations: 1.857 MB / 3.478 GB, free: 13.38 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/7.798, allocations: 37.7 kB / 3.478 GB, free: 13.34 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/7.798, allocations: 0.6011 MB / 3.479 GB, free: 12.73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/7.798, allocations: 165.7 kB / 3.479 GB, free: 12.57 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/7.798, allocations: 16 kB / 3.479 GB, free: 12.55 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/7.798, allocations: 330 kB / 3.479 GB, free: 12.22 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/7.799, allocations: 181.5 kB / 3.48 GB, free: 12.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/7.799, allocations: 279.2 kB / 3.48 GB, free: 11.73 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/7.799, allocations: 216 kB / 3.48 GB, free: 11.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/7.799, allocations: 4 kB / 3.48 GB, free: 11.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001172/7.801, allocations: 0.7812 MB / 3.481 GB, free: 10.73 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/7.801, allocations: 8 kB / 3.481 GB, free: 10.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/7.801, allocations: 7.953 kB / 3.481 GB, free: 10.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/7.801, allocations: 164.8 kB / 3.481 GB, free: 10.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/7.801, allocations: 119.9 kB / 3.481 GB, free: 10.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/7.804, allocations: 2.635 MB / 3.484 GB, free: 7.668 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/7.805, allocations: 99.45 kB / 3.484 GB, free: 7.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/7.805, allocations: 23.98 kB / 3.484 GB, free: 7.547 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/7.805, allocations: 152 kB / 3.484 GB, free: 7.391 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/7.805, allocations: 146.3 kB / 3.484 GB, free: 7.246 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/7.807, allocations: 0.772 MB / 3.485 GB, free: 6.457 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/7.807, allocations: 15.94 kB / 3.485 GB, free: 6.441 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/7.807, allocations: 0 / 3.485 GB, free: 6.441 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/7.807, allocations: 7.922 kB / 3.485 GB, free: 6.434 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/7.81, allocations: 1.952 MB / 3.487 GB, free: 4.418 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/7.81, allocations: 0 / 3.487 GB, free: 4.418 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/7.81, allocations: 59.89 kB / 3.487 GB, free: 4.359 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/7.81, allocations: 183.6 kB / 3.487 GB, free: 4.176 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/7.81, allocations: 19.98 kB / 3.487 GB, free: 4.156 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015/8.825, allocations: 4.006 MB / 3.491 GB, free: 380.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/8.825, allocations: 0 / 3.491 GB, free: 380.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/8.828, allocations: 1.061 MB / 3.492 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/8.829, allocations: 358.3 kB / 3.492 GB, free: 379.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/8.829, allocations: 21.59 kB / 3.492 GB, free: 379.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/8.829, allocations: 49.78 kB / 3.492 GB, free: 379.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/8.83, allocations: 63.17 kB / 3.492 GB, free: 379.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/8.83, allocations: 22.56 kB / 3.492 GB, free: 379.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002547/8.832, allocations: 1.48 MB / 3.494 GB, free: 379.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/8.832, allocations: 0.7812 kB / 3.494 GB, free: 379.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001341/8.833, allocations: 341.4 kB / 3.494 GB, free: 379.7 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/8.836, allocations: 0.9142 MB / 3.495 GB, free: 379.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001663/8.837, allocations: 0.6691 MB / 3.496 GB, free: 379.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/8.837, allocations: 4.562 kB / 3.496 GB, free: 379.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009756/8.838, allocations: 0.5421 MB / 3.496 GB, free: 379.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/8.84, allocations: 209 kB / 3.496 GB, free: 379.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/8.847, allocations: 2.406 MB / 3.499 GB, free: 378.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/8.848, allocations: 1.274 MB / 3.5 GB, free: 378 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008229/8.849, allocations: 170.5 kB / 3.5 GB, free: 378 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/8.849, allocations: 79.66 kB / 3.5 GB, free: 378 MB / 1.151 GB Notification: Performance of SimCode: time 2.244e-06/8.85, allocations: 2.766 kB / 3.5 GB, free: 378 MB / 1.151 GB Notification: Performance of Templates: time 0.05182/8.901, allocations: 21.78 MB / 3.522 GB, free: 376.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches