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.499/2.499, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001629/0.001629, allocations: 175.5 kB / 0.4902 GB, free: 2.207 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.894/1.894, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.00109/0.00109, allocations: 102.2 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003893, allocations: 14.12 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4053, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.196/6.601, allocations: 2.19 GB / 3.419 GB, free: 261.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/6.602, allocations: 96.5 kB / 3.419 GB, free: 261.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1472/6.749, allocations: 73.87 MB / 3.491 GB, free: 187.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.216e-06/6.749, allocations: 0 / 3.491 GB, free: 187.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001318/6.749, allocations: 39.94 kB / 3.491 GB, free: 187.4 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.00335/6.752, allocations: 2.194 MB / 3.494 GB, free: 185.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/6.752, allocations: 8.562 kB / 3.494 GB, free: 185.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/6.753, allocations: 229.2 kB / 3.494 GB, free: 184.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/6.757, allocations: 1.89 MB / 3.496 GB, free: 182.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/6.757, allocations: 98.98 kB / 3.496 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/6.757, allocations: 60 kB / 3.496 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/6.758, allocations: 0.7173 MB / 3.496 GB, free: 182 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/6.758, allocations: 0 / 3.496 GB, free: 182 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/6.758, allocations: 28 kB / 3.496 GB, free: 182 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/6.758, allocations: 16 kB / 3.496 GB, free: 182 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009427/6.759, allocations: 0.579 MB / 3.497 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/6.763, allocations: 3.705 MB / 3.501 GB, free: 177.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/6.764, allocations: 0.7064 MB / 3.501 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/6.764, allocations: 12.56 kB / 3.501 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006364/6.765, allocations: 422.8 kB / 3.502 GB, free: 176.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=69): time 2.414e-06/6.765, allocations: 0 / 3.502 GB, free: 176.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=69): time 0.00371/6.769, allocations: 1.805 MB / 3.504 GB, free: 174.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/6.769, allocations: 67.95 kB / 3.504 GB, free: 174.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/6.773, allocations: 2.949 MB / 3.506 GB, free: 171.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/6.773, allocations: 45.7 kB / 3.507 GB, free: 171.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005774/6.773, allocations: 0.9053 MB / 3.507 GB, free: 170.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/6.774, allocations: 228.8 kB / 3.508 GB, free: 170.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/6.774, allocations: 16 kB / 3.508 GB, free: 170.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.437e-05/6.774, allocations: 337.9 kB / 3.508 GB, free: 169.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/6.774, allocations: 313.8 kB / 3.508 GB, free: 169.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/6.775, allocations: 443.2 kB / 3.509 GB, free: 169 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/6.775, allocations: 351 kB / 3.509 GB, free: 168.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/6.775, allocations: 0 / 3.509 GB, free: 168.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001999/6.777, allocations: 1.233 MB / 3.51 GB, free: 167.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/6.777, allocations: 10.19 kB / 3.51 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/6.777, allocations: 4 kB / 3.51 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007494/6.778, allocations: 279.5 kB / 3.51 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/6.779, allocations: 139.8 kB / 3.511 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/6.783, allocations: 4.517 MB / 3.515 GB, free: 162.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007213/6.783, allocations: 127.3 kB / 3.515 GB, free: 162.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/6.783, allocations: 28 kB / 3.515 GB, free: 162.1 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 () * Number of clocked 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 {(2,100.0%) 20,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008866/6.784, allocations: 0.607 MB / 3.516 GB, free: 161.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/6.785, allocations: 217.4 kB / 3.516 GB, free: 161.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/6.786, allocations: 1.191 MB / 3.517 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/6.786, allocations: 8 kB / 3.517 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/6.787, allocations: 4 kB / 3.517 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/6.787, allocations: 3.984 kB / 3.517 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/6.791, allocations: 2.848 MB / 3.52 GB, free: 157.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/6.791, allocations: 0 / 3.52 GB, free: 157.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/6.791, allocations: 75.89 kB / 3.52 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005882/6.792, allocations: 268.8 kB / 3.52 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/6.792, allocations: 19.98 kB / 3.52 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/6.796, allocations: 4.512 MB / 3.525 GB, free: 152 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/6.796, allocations: 4 kB / 3.525 GB, free: 152 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/6.798, allocations: 1.617 MB / 3.526 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/6.799, allocations: 494.2 kB / 3.527 GB, free: 149.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/6.799, allocations: 24 kB / 3.527 GB, free: 149.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/6.8, allocations: 71.81 kB / 3.527 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/6.8, allocations: 76.52 kB / 3.527 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/6.8, allocations: 20 kB / 3.527 GB, free: 149.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002626/6.803, allocations: 2.361 MB / 3.529 GB, free: 147.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.803, allocations: 0 / 3.529 GB, free: 147.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001293/6.804, allocations: 468.2 kB / 3.53 GB, free: 146.8 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) * Number of clocked states: 0 () * 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 {(2,100.0%) 20,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00163/6.806, allocations: 0.976 MB / 3.531 GB, free: 146 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001841/6.807, allocations: 1.076 MB / 3.532 GB, free: 144.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/6.807, allocations: 0 / 3.532 GB, free: 144.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009268/6.808, allocations: 0.6997 MB / 3.532 GB, free: 144.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/6.81, allocations: 255.9 kB / 3.533 GB, free: 143.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005476/6.815, allocations: 4.79 MB / 3.537 GB, free: 139.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009021/6.816, allocations: 1.575 MB / 3.539 GB, free: 137.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005196/6.816, allocations: 258 kB / 3.539 GB, free: 137.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/6.817, allocations: 107.4 kB / 3.539 GB, free: 137.2 MB / 1.167 GB Notification: Performance of SimCode: time 6.31e-07/6.817, allocations: 0 / 3.539 GB, free: 137.2 MB / 1.167 GB Notification: Performance of Templates: time 0.04001/6.857, allocations: 24.59 MB / 3.563 GB, free: 112.7 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