Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.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_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.109/2.109, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001058/0.001058, allocations: 172.8 kB / 487.4 MB, free: 5.074 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.415/1.415, allocations: 221.5 MB / 0.7824 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009268, allocations: 103.6 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.636e-05/1.639e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2588, allocations: 142.3 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.622/4.881, allocations: 2.188 GB / 3.394 GB, free: 148.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/4.881, allocations: 91.94 kB / 3.394 GB, free: 148 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1201/5.001, allocations: 64.3 MB / 3.456 GB, free: 83.17 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.683e-06/5.001, allocations: 0 / 3.456 GB, free: 83.17 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001285/5.001, allocations: 27.94 kB / 3.456 GB, free: 83.14 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.002245/5.004, allocations: 1.226 MB / 3.458 GB, free: 81.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/5.004, allocations: 8.031 kB / 3.458 GB, free: 81.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/5.004, allocations: 138.3 kB / 3.458 GB, free: 81.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/5.007, allocations: 1.448 MB / 3.459 GB, free: 80.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/5.007, allocations: 59 kB / 3.459 GB, free: 80.16 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.702e-05/5.007, allocations: 35.89 kB / 3.459 GB, free: 80.12 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005811/5.008, allocations: 318.5 kB / 3.46 GB, free: 79.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006244/5.009, allocations: 425 kB / 3.46 GB, free: 79.39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/5.009, allocations: 0 / 3.46 GB, free: 79.39 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/5.009, allocations: 4 kB / 3.46 GB, free: 79.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/5.009, allocations: 8 kB / 3.46 GB, free: 79.38 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/5.012, allocations: 2.63 MB / 3.463 GB, free: 76.55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/5.012, allocations: 370.9 kB / 3.463 GB, free: 76.18 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/5.013, allocations: 236.1 kB / 3.463 GB, free: 75.95 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/5.013, allocations: 4.328 kB / 3.463 GB, free: 75.94 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/5.013, allocations: 249.9 kB / 3.463 GB, free: 75.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/5.013, allocations: 0 / 3.463 GB, free: 75.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.001036/5.014, allocations: 0.5919 MB / 3.464 GB, free: 75.08 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/5.014, allocations: 59.41 kB / 3.464 GB, free: 75.01 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/5.016, allocations: 1.455 MB / 3.465 GB, free: 73.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/5.016, allocations: 33.7 kB / 3.465 GB, free: 73.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/5.017, allocations: 0.502 MB / 3.466 GB, free: 73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/5.017, allocations: 141.9 kB / 3.466 GB, free: 72.86 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/5.017, allocations: 0 / 3.466 GB, free: 72.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/5.017, allocations: 330 kB / 3.466 GB, free: 72.53 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/5.017, allocations: 145.1 kB / 3.467 GB, free: 72.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/5.017, allocations: 259.9 kB / 3.467 GB, free: 72.09 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/5.018, allocations: 182.2 kB / 3.467 GB, free: 71.91 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/5.018, allocations: 0 / 3.467 GB, free: 71.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001074/5.019, allocations: 0.6679 MB / 3.468 GB, free: 71.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/5.019, allocations: 4 kB / 3.468 GB, free: 71.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/5.019, allocations: 4.438 kB / 3.468 GB, free: 71.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000437/5.019, allocations: 162.6 kB / 3.468 GB, free: 71.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/5.02, allocations: 99.88 kB / 3.468 GB, free: 70.97 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/5.022, allocations: 2.512 MB / 3.47 GB, free: 68.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/5.023, allocations: 79.55 kB / 3.47 GB, free: 68.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/5.023, allocations: 20 kB / 3.47 GB, free: 68.25 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.0001504/5.023, allocations: 130.6 kB / 3.471 GB, free: 68.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/5.023, allocations: 114.6 kB / 3.471 GB, free: 68 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/5.024, allocations: 0.6456 MB / 3.471 GB, free: 67.33 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/5.024, allocations: 4 kB / 3.471 GB, free: 67.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/5.024, allocations: 4 kB / 3.471 GB, free: 67.32 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/5.024, allocations: 3.984 kB / 3.471 GB, free: 67.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/5.027, allocations: 1.603 MB / 3.473 GB, free: 65.67 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/5.027, allocations: 0 / 3.473 GB, free: 65.67 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/5.027, allocations: 51.97 kB / 3.473 GB, free: 65.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000382/5.027, allocations: 175.9 kB / 3.473 GB, free: 65.45 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/5.027, allocations: 7.984 kB / 3.473 GB, free: 65.44 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003113/5.03, allocations: 3.818 MB / 3.477 GB, free: 61.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/5.03, allocations: 0 / 3.477 GB, free: 61.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/5.032, allocations: 0.9102 MB / 3.478 GB, free: 60.46 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/5.032, allocations: 303.5 kB / 3.478 GB, free: 60.15 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/5.032, allocations: 7.984 kB / 3.478 GB, free: 60.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/5.033, allocations: 47.92 kB / 3.478 GB, free: 60.09 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/5.033, allocations: 48.34 kB / 3.478 GB, free: 60.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/5.033, allocations: 19.94 kB / 3.478 GB, free: 60.03 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001206/5.034, allocations: 1.147 MB / 3.479 GB, free: 58.88 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.61e-07/5.034, allocations: 0 / 3.479 GB, free: 58.88 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009696/5.035, allocations: 291.5 kB / 3.48 GB, free: 58.59 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.001589/5.037, allocations: 0.9773 MB / 3.48 GB, free: 57.71 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009083/5.038, allocations: 0.5733 MB / 3.481 GB, free: 57.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/5.038, allocations: 0 / 3.481 GB, free: 57.13 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005907/5.038, allocations: 0.489 MB / 3.482 GB, free: 56.61 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/5.039, allocations: 166.6 kB / 3.482 GB, free: 56.45 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/5.042, allocations: 2.012 MB / 3.484 GB, free: 54.41 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/5.043, allocations: 1.177 MB / 3.485 GB, free: 53.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003458/5.043, allocations: 140.5 kB / 3.485 GB, free: 53.06 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/5.043, allocations: 63.42 kB / 3.485 GB, free: 53 MB / 1.151 GB Notification: Performance of SimCode: time 1.372e-06/5.043, allocations: 0 / 3.485 GB, free: 53 MB / 1.151 GB Notification: Performance of Templates: time 0.02155/5.065, allocations: 13.42 MB / 3.498 GB, free: 39.68 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches