Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.281/2.281, allocations: 390.5 MB / 398 MB, free: 10.91 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.001289/0.001289, allocations: 183.1 kB / 491.2 MB, free: 1.566 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.719/1.719, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001043/0.001043, allocations: 99.47 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.672e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3833, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.703/7.087, allocations: 2.188 GB / 3.401 GB, free: 113 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/7.087, allocations: 87.95 kB / 3.401 GB, free: 112.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1248/7.212, allocations: 64.3 MB / 3.464 GB, free: 48.09 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/7.212, allocations: 0 / 3.464 GB, free: 48.09 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001765/7.212, allocations: 24 kB / 3.464 GB, free: 48.07 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003003/7.215, allocations: 1.23 MB / 3.465 GB, free: 46.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/7.215, allocations: 8.031 kB / 3.465 GB, free: 46.79 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/7.216, allocations: 142.3 kB / 3.465 GB, free: 46.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/7.22, allocations: 1.455 MB / 3.466 GB, free: 45.14 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/7.22, allocations: 63 kB / 3.466 GB, free: 45.07 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/7.22, allocations: 28 kB / 3.466 GB, free: 45.04 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006857/7.221, allocations: 314.5 kB / 3.467 GB, free: 44.74 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/7.222, allocations: 421 kB / 3.467 GB, free: 44.31 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/7.222, allocations: 7.906 kB / 3.467 GB, free: 44.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/7.222, allocations: 3.984 kB / 3.467 GB, free: 44.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/7.222, allocations: 8 kB / 3.467 GB, free: 44.29 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/7.226, allocations: 2.626 MB / 3.47 GB, free: 41.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/7.227, allocations: 367 kB / 3.47 GB, free: 41.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/7.227, allocations: 231.2 kB / 3.47 GB, free: 40.87 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/7.227, allocations: 8.328 kB / 3.47 GB, free: 40.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/7.228, allocations: 249.8 kB / 3.471 GB, free: 40.61 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 3.446e-06/7.228, allocations: 0 / 3.471 GB, free: 40.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.001467/7.229, allocations: 0.5997 MB / 3.471 GB, free: 39.99 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/7.229, allocations: 55.41 kB / 3.471 GB, free: 39.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/7.232, allocations: 1.455 MB / 3.473 GB, free: 38.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/7.232, allocations: 29.7 kB / 3.473 GB, free: 38.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/7.233, allocations: 0.502 MB / 3.473 GB, free: 37.92 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/7.233, allocations: 142.4 kB / 3.473 GB, free: 37.78 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/7.233, allocations: 0 / 3.473 GB, free: 37.78 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001104/7.233, allocations: 338 kB / 3.474 GB, free: 37.44 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/7.234, allocations: 149 kB / 3.474 GB, free: 37.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/7.234, allocations: 255.8 kB / 3.474 GB, free: 37 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/7.234, allocations: 182.4 kB / 3.474 GB, free: 36.83 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/7.234, allocations: 0 / 3.474 GB, free: 36.83 MB / 1.151 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001267/7.235, allocations: 0.6675 MB / 3.475 GB, free: 36.15 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/7.235, allocations: 8.062 kB / 3.475 GB, free: 36.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/7.235, allocations: 7.938 kB / 3.475 GB, free: 36.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/7.236, allocations: 153.9 kB / 3.475 GB, free: 35.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/7.236, allocations: 103.9 kB / 3.475 GB, free: 35.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/7.239, allocations: 2.507 MB / 3.478 GB, free: 33.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/7.24, allocations: 79.56 kB / 3.478 GB, free: 33.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/7.24, allocations: 23.98 kB / 3.478 GB, free: 33.16 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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002123/7.24, allocations: 119.8 kB / 3.478 GB, free: 33.04 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/7.241, allocations: 114.6 kB / 3.478 GB, free: 32.93 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/7.242, allocations: 0.6418 MB / 3.478 GB, free: 32.27 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/7.242, allocations: 4 kB / 3.478 GB, free: 32.26 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/7.242, allocations: 4 kB / 3.478 GB, free: 32.26 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/7.242, allocations: 3.984 kB / 3.478 GB, free: 32.25 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/7.245, allocations: 1.611 MB / 3.48 GB, free: 30.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/7.245, allocations: 0 / 3.48 GB, free: 30.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/7.246, allocations: 51.97 kB / 3.48 GB, free: 30.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/7.246, allocations: 172.4 kB / 3.48 GB, free: 30.37 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/7.246, allocations: 12 kB / 3.48 GB, free: 30.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/7.249, allocations: 3.813 MB / 3.484 GB, free: 26.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/7.249, allocations: 0 / 3.484 GB, free: 26.32 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/7.251, allocations: 0.9141 MB / 3.485 GB, free: 25.38 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005157/7.251, allocations: 299.5 kB / 3.485 GB, free: 25.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/7.251, allocations: 11.95 kB / 3.485 GB, free: 25.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/7.252, allocations: 39.97 kB / 3.485 GB, free: 25.02 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/7.252, allocations: 56.34 kB / 3.485 GB, free: 24.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/7.252, allocations: 15.98 kB / 3.485 GB, free: 24.95 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001867/7.254, allocations: 1.143 MB / 3.486 GB, free: 23.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/7.254, allocations: 0 / 3.486 GB, free: 23.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001399/7.255, allocations: 303.5 kB / 3.487 GB, free: 23.5 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: 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) * 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001898/7.257, allocations: 0.9648 MB / 3.488 GB, free: 22.64 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00108/7.258, allocations: 0.5803 MB / 3.488 GB, free: 22.05 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/7.258, allocations: 0 / 3.488 GB, free: 22.05 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/7.259, allocations: 493.3 kB / 3.489 GB, free: 21.55 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/7.26, allocations: 168.1 kB / 3.489 GB, free: 21.39 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/7.263, allocations: 2.006 MB / 3.491 GB, free: 19.35 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/7.264, allocations: 1.177 MB / 3.492 GB, free: 18.14 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003382/7.264, allocations: 140.5 kB / 3.492 GB, free: 18 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/7.264, allocations: 63.42 kB / 3.492 GB, free: 17.94 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/7.264, allocations: 4 kB / 3.492 GB, free: 17.93 MB / 1.151 GB Notification: Performance of Templates: time 0.02519/7.29, allocations: 13.42 MB / 3.505 GB, free: 4.613 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches