Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 390.5 MB / 398 MB, free: 10.96 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.001454/0.001454, allocations: 184.2 kB / 491.2 MB, free: 1.594 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.875/1.875, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.00104/0.00104, allocations: 95.78 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.057e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.37, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.438/6.808, allocations: 2.191 GB / 3.403 GB, free: 86.69 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/6.808, allocations: 91.52 kB / 3.403 GB, free: 86.64 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1515/6.96, allocations: 74.69 MB / 3.476 GB, free: 14.97 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.623e-06/6.96, allocations: 0 / 3.476 GB, free: 14.97 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002913/6.96, allocations: 43.98 kB / 3.476 GB, free: 14.93 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00434/6.965, allocations: 1.858 MB / 3.478 GB, free: 13.01 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/6.965, allocations: 8.031 kB / 3.478 GB, free: 13 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/6.966, allocations: 249.3 kB / 3.478 GB, free: 12.76 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/6.97, allocations: 1.891 MB / 3.48 GB, free: 10.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/6.97, allocations: 71 kB / 3.48 GB, free: 10.72 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/6.971, allocations: 51.98 kB / 3.48 GB, free: 10.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001136/6.972, allocations: 0.5102 MB / 3.481 GB, free: 10.16 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/6.973, allocations: 0.622 MB / 3.481 GB, free: 9.527 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/6.973, allocations: 3.984 kB / 3.481 GB, free: 9.523 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.782e-05/6.973, allocations: 0 / 3.481 GB, free: 9.523 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/6.973, allocations: 16 kB / 3.481 GB, free: 9.508 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005925/6.979, allocations: 3.776 MB / 3.485 GB, free: 5.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/6.98, allocations: 0.6268 MB / 3.485 GB, free: 4.84 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/6.981, allocations: 358.4 kB / 3.486 GB, free: 4.484 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/6.981, allocations: 8.562 kB / 3.486 GB, free: 4.473 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/6.981, allocations: 376.2 kB / 3.486 GB, free: 4.094 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/6.981, allocations: 0 / 3.486 GB, free: 4.094 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001976/6.983, allocations: 0.9836 MB / 3.487 GB, free: 3.094 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/6.983, allocations: 60.19 kB / 3.487 GB, free: 3.02 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004693/6.988, allocations: 2.829 MB / 3.49 GB, free: 172 kB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/6.988, allocations: 29.7 kB / 3.49 GB, free: 136 kB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.8651/7.853, allocations: 0.9301 MB / 3.491 GB, free: 377.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/7.854, allocations: 220.3 kB / 3.491 GB, free: 377.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.761e-05/7.854, allocations: 0.5312 kB / 3.491 GB, free: 377.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001448/7.854, allocations: 341.2 kB / 3.491 GB, free: 376.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007362/7.855, allocations: 240.4 kB / 3.492 GB, free: 376.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/7.855, allocations: 396.3 kB / 3.492 GB, free: 376.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/7.856, allocations: 284.1 kB / 3.492 GB, free: 376.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/7.856, allocations: 0.9688 kB / 3.492 GB, free: 376.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003083/7.859, allocations: 1.066 MB / 3.493 GB, free: 376.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/7.859, allocations: 8.359 kB / 3.493 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/7.859, allocations: 6.906 kB / 3.493 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/7.86, allocations: 264.7 kB / 3.494 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/7.861, allocations: 144.1 kB / 3.494 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005273/7.866, allocations: 4.457 MB / 3.498 GB, free: 374 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/7.868, allocations: 110 kB / 3.498 GB, free: 374 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/7.868, allocations: 26.05 kB / 3.498 GB, free: 374 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.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002754/7.868, allocations: 139.2 kB / 3.498 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006185/7.869, allocations: 219.5 kB / 3.499 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/7.871, allocations: 1.085 MB / 3.5 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/7.871, allocations: 8.375 kB / 3.5 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/7.871, allocations: 4.031 kB / 3.5 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/7.871, allocations: 10.2 kB / 3.5 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005361/7.877, allocations: 2.674 MB / 3.502 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/7.877, allocations: 1.266 kB / 3.502 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/7.877, allocations: 87.12 kB / 3.502 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/7.878, allocations: 255.6 kB / 3.503 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/7.878, allocations: 14.61 kB / 3.503 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004835/7.883, allocations: 4.442 MB / 3.507 GB, free: 370.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/7.883, allocations: 0.7031 kB / 3.507 GB, free: 370.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/7.887, allocations: 1.48 MB / 3.508 GB, free: 370.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/7.888, allocations: 0.4929 MB / 3.509 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/7.888, allocations: 17.17 kB / 3.509 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/7.889, allocations: 56.44 kB / 3.509 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/7.889, allocations: 79.44 kB / 3.509 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/7.889, allocations: 26.73 kB / 3.509 GB, free: 370.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003527/7.892, allocations: 2.223 MB / 3.511 GB, free: 370 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.21e-07/7.892, allocations: 0 / 3.511 GB, free: 370 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001984/7.894, allocations: 443.2 kB / 3.512 GB, free: 370 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * 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.001961/7.896, allocations: 0.9794 MB / 3.513 GB, free: 369.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00187/7.898, allocations: 0.952 MB / 3.514 GB, free: 369.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/7.898, allocations: 0 / 3.514 GB, free: 369.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/7.899, allocations: 0.6425 MB / 3.514 GB, free: 369.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/7.901, allocations: 254.5 kB / 3.514 GB, free: 369.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006953/7.908, allocations: 3.623 MB / 3.518 GB, free: 368.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/7.91, allocations: 1.601 MB / 3.519 GB, free: 368 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00112/7.911, allocations: 253.9 kB / 3.52 GB, free: 368 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/7.911, allocations: 112.6 kB / 3.52 GB, free: 368 MB / 1.151 GB Notification: Performance of SimCode: time 1.243e-06/7.911, allocations: 0 / 3.52 GB, free: 368 MB / 1.151 GB Notification: Performance of Templates: time 0.04384/7.955, allocations: 19.35 MB / 3.539 GB, free: 366.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches