Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.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_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 387.1 MB / 399.7 MB, free: 9.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.0009839/0.000984, allocations: 188.9 kB / 492.3 MB, free: 0.6289 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.536/1.536, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008541/0.0008544, allocations: 85.47 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.358e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.351, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.258/7.609, allocations: 2.188 GB / 3.401 GB, free: 125.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/7.609, allocations: 87.95 kB / 3.401 GB, free: 125.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.126/7.735, allocations: 65.08 MB / 3.464 GB, free: 59.72 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.316e-06/7.735, allocations: 7.938 kB / 3.464 GB, free: 59.71 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.313e-05/7.735, allocations: 20 kB / 3.464 GB, free: 59.7 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.002075/7.738, allocations: 1.229 MB / 3.465 GB, free: 58.42 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/7.738, allocations: 8.031 kB / 3.466 GB, free: 58.41 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/7.738, allocations: 138.3 kB / 3.466 GB, free: 58.27 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/7.741, allocations: 1.455 MB / 3.467 GB, free: 56.77 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/7.741, allocations: 74.67 kB / 3.467 GB, free: 56.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/7.741, allocations: 51.91 kB / 3.467 GB, free: 56.63 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008052/7.742, allocations: 487 kB / 3.468 GB, free: 56.14 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/7.742, allocations: 0 / 3.468 GB, free: 56.14 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/7.742, allocations: 16 kB / 3.468 GB, free: 56.13 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/7.742, allocations: 15.94 kB / 3.468 GB, free: 56.11 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005483/7.743, allocations: 339.8 kB / 3.468 GB, free: 55.78 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/7.746, allocations: 2.661 MB / 3.471 GB, free: 52.93 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006704/7.747, allocations: 376.9 kB / 3.471 GB, free: 52.55 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/7.747, allocations: 273.4 kB / 3.471 GB, free: 52.28 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/7.747, allocations: 8.328 kB / 3.471 GB, free: 52.27 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/7.748, allocations: 255.8 kB / 3.471 GB, free: 52.01 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 3.827e-06/7.748, allocations: 0 / 3.471 GB, free: 52.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001183/7.749, allocations: 0.5874 MB / 3.472 GB, free: 51.41 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/7.749, allocations: 63.39 kB / 3.472 GB, free: 51.33 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/7.751, allocations: 1.544 MB / 3.474 GB, free: 49.78 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/7.751, allocations: 37.7 kB / 3.474 GB, free: 49.73 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/7.752, allocations: 0.5249 MB / 3.474 GB, free: 49.21 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/7.752, allocations: 138.1 kB / 3.474 GB, free: 49.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/7.752, allocations: 16 kB / 3.474 GB, free: 49.05 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000109/7.752, allocations: 330 kB / 3.475 GB, free: 48.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/7.752, allocations: 157.1 kB / 3.475 GB, free: 48.57 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/7.752, allocations: 292.5 kB / 3.475 GB, free: 48.24 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/7.753, allocations: 189.4 kB / 3.475 GB, free: 48.05 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/7.753, allocations: 0 / 3.475 GB, free: 48.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001112/7.754, allocations: 0.7126 MB / 3.476 GB, free: 47.33 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/7.754, allocations: 11.95 kB / 3.476 GB, free: 47.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/7.754, allocations: 4.375 kB / 3.476 GB, free: 47.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/7.754, allocations: 132.8 kB / 3.476 GB, free: 47.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/7.755, allocations: 111.8 kB / 3.476 GB, free: 47.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/7.757, allocations: 2.338 MB / 3.478 GB, free: 44.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/7.758, allocations: 103.4 kB / 3.479 GB, free: 44.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/7.758, allocations: 20 kB / 3.479 GB, free: 44.48 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000186/7.758, allocations: 154.6 kB / 3.479 GB, free: 44.33 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/7.758, allocations: 122.5 kB / 3.479 GB, free: 44.21 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/7.76, allocations: 0.65 MB / 3.479 GB, free: 43.54 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/7.76, allocations: 4 kB / 3.479 GB, free: 43.54 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/7.76, allocations: 8 kB / 3.479 GB, free: 43.53 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/7.76, allocations: 3.984 kB / 3.479 GB, free: 43.53 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/7.762, allocations: 1.659 MB / 3.481 GB, free: 41.81 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/7.762, allocations: 0 / 3.481 GB, free: 41.81 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/7.762, allocations: 51.97 kB / 3.481 GB, free: 41.76 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003671/7.763, allocations: 169.5 kB / 3.481 GB, free: 41.59 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/7.763, allocations: 19.92 kB / 3.481 GB, free: 41.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/7.766, allocations: 3.657 MB / 3.485 GB, free: 37.64 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/7.766, allocations: 0 / 3.485 GB, free: 37.64 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/7.767, allocations: 0.909 MB / 3.486 GB, free: 36.71 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/7.768, allocations: 307.4 kB / 3.486 GB, free: 36.39 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/7.768, allocations: 12 kB / 3.486 GB, free: 36.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/7.768, allocations: 48.11 kB / 3.486 GB, free: 36.33 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/7.768, allocations: 59.91 kB / 3.486 GB, free: 36.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/7.769, allocations: 15.98 kB / 3.486 GB, free: 36.25 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001792/7.77, allocations: 1.232 MB / 3.487 GB, free: 35.02 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/7.77, allocations: 0 / 3.487 GB, free: 35.02 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00143/7.772, allocations: 311.6 kB / 3.488 GB, free: 34.71 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002337/7.774, allocations: 0.9143 MB / 3.489 GB, free: 33.94 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001401/7.776, allocations: 0.5847 MB / 3.489 GB, free: 33.34 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/7.776, allocations: 0 / 3.489 GB, free: 33.34 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007325/7.776, allocations: 0.4891 MB / 3.49 GB, free: 32.83 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/7.777, allocations: 181.8 kB / 3.49 GB, free: 32.65 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/7.782, allocations: 2.02 MB / 3.492 GB, free: 30.61 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/7.783, allocations: 1.177 MB / 3.493 GB, free: 29.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006187/7.784, allocations: 148.7 kB / 3.493 GB, free: 29.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/7.784, allocations: 63.42 kB / 3.493 GB, free: 29.19 MB / 1.151 GB Notification: Performance of SimCode: time 2.244e-06/7.784, allocations: 4 kB / 3.493 GB, free: 29.19 MB / 1.151 GB Notification: Performance of Templates: time 0.041/7.825, allocations: 20.06 MB / 3.513 GB, free: 9.211 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches