Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.447/2.447, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001514/0.001514, allocations: 195.1 kB / 0.4902 GB, free: 2.305 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.059/2.059, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001158/0.001158, allocations: 104.1 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004885, allocations: 14.25 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4791, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.519/6.998, allocations: 2.189 GB / 3.418 GB, free: 202.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/6.999, allocations: 101.2 kB / 3.418 GB, free: 202.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1365/7.135, allocations: 65.25 MB / 3.482 GB, free: 148.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.434e-06/7.135, allocations: 0 / 3.482 GB, free: 148.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001782/7.135, allocations: 24 kB / 3.482 GB, free: 148.9 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003377/7.139, allocations: 1.446 MB / 3.484 GB, free: 147.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/7.139, allocations: 8.562 kB / 3.484 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/7.139, allocations: 142.3 kB / 3.484 GB, free: 147.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/7.143, allocations: 1.466 MB / 3.485 GB, free: 146 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/7.144, allocations: 85.3 kB / 3.485 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/7.144, allocations: 57.77 kB / 3.485 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/7.145, allocations: 0.5061 MB / 3.486 GB, free: 145.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/7.145, allocations: 0 / 3.486 GB, free: 145.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/7.145, allocations: 21.86 kB / 3.486 GB, free: 145.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/7.145, allocations: 12 kB / 3.486 GB, free: 145.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/7.146, allocations: 405.5 kB / 3.486 GB, free: 145.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004558/7.15, allocations: 2.664 MB / 3.489 GB, free: 142.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/7.151, allocations: 441.6 kB / 3.489 GB, free: 142.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/7.151, allocations: 8.312 kB / 3.489 GB, free: 142.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/7.152, allocations: 292.9 kB / 3.49 GB, free: 142.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/7.152, allocations: 0 / 3.49 GB, free: 142.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.002707/7.155, allocations: 1.156 MB / 3.491 GB, free: 141.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/7.155, allocations: 63.3 kB / 3.491 GB, free: 141.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/7.158, allocations: 1.564 MB / 3.492 GB, free: 140 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/7.158, allocations: 40.08 kB / 3.492 GB, free: 140 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/7.158, allocations: 0.5296 MB / 3.493 GB, free: 139.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/7.159, allocations: 137.4 kB / 3.493 GB, free: 139.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/7.159, allocations: 13.5 kB / 3.493 GB, free: 139.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/7.159, allocations: 331.4 kB / 3.493 GB, free: 139.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/7.159, allocations: 225 kB / 3.493 GB, free: 139.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/7.16, allocations: 347.1 kB / 3.494 GB, free: 138.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/7.16, allocations: 261.2 kB / 3.494 GB, free: 138.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/7.16, allocations: 0 / 3.494 GB, free: 138.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001702/7.162, allocations: 0.8374 MB / 3.495 GB, free: 138 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/7.162, allocations: 11.98 kB / 3.495 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/7.162, allocations: 4 kB / 3.495 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/7.163, allocations: 155.2 kB / 3.495 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/7.163, allocations: 104.2 kB / 3.495 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/7.166, allocations: 2.513 MB / 3.498 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/7.167, allocations: 102.5 kB / 3.498 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/7.167, allocations: 22.25 kB / 3.498 GB, free: 135.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007736/7.168, allocations: 385.7 kB / 3.498 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/7.168, allocations: 121.9 kB / 3.498 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/7.17, allocations: 0.7223 MB / 3.499 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/7.17, allocations: 4 kB / 3.499 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/7.17, allocations: 11.94 kB / 3.499 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/7.17, allocations: 3.938 kB / 3.499 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/7.173, allocations: 1.735 MB / 3.501 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/7.173, allocations: 0 / 3.501 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/7.173, allocations: 51.91 kB / 3.501 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/7.174, allocations: 163.1 kB / 3.501 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/7.174, allocations: 15.98 kB / 3.501 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/7.177, allocations: 3.718 MB / 3.504 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/7.177, allocations: 0 / 3.504 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/7.178, allocations: 1.014 MB / 3.505 GB, free: 127.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/7.179, allocations: 303.5 kB / 3.506 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/7.179, allocations: 16 kB / 3.506 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/7.18, allocations: 43.86 kB / 3.506 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/7.18, allocations: 59.91 kB / 3.506 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/7.18, allocations: 20 kB / 3.506 GB, free: 127 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002225/7.182, allocations: 1.242 MB / 3.507 GB, free: 125.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.61e-07/7.182, allocations: 0 / 3.507 GB, free: 125.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001521/7.184, allocations: 315.6 kB / 3.507 GB, free: 125.5 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002204/7.186, allocations: 0.9691 MB / 3.508 GB, free: 124.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001666/7.188, allocations: 0.6983 MB / 3.509 GB, free: 124 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/7.188, allocations: 8.062 kB / 3.509 GB, free: 124 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008586/7.189, allocations: 0.5401 MB / 3.51 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/7.19, allocations: 177.2 kB / 3.51 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/7.195, allocations: 2.772 MB / 3.512 GB, free: 120.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/7.196, allocations: 1.173 MB / 3.514 GB, free: 119.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005329/7.196, allocations: 144.7 kB / 3.514 GB, free: 119.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/7.197, allocations: 67.42 kB / 3.514 GB, free: 119 MB / 1.167 GB Notification: Performance of SimCode: time 1.863e-06/7.197, allocations: 0 / 3.514 GB, free: 119 MB / 1.167 GB Notification: Performance of Templates: time 0.03173/7.228, allocations: 18.46 MB / 3.532 GB, free: 100.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches