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.44/2.44, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.0009884/0.0009885, allocations: 184.9 kB / 492.3 MB, free: 0.6055 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.525/1.525, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008487/0.0008482, allocations: 91.47 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.575e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3499, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.595/7.945, allocations: 2.188 GB / 3.401 GB, free: 114.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/7.945, allocations: 99.12 kB / 3.401 GB, free: 114.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1272/8.072, allocations: 65.08 MB / 3.464 GB, free: 48.79 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.703e-06/8.073, allocations: 3.938 kB / 3.464 GB, free: 48.79 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.606e-05/8.073, allocations: 27.94 kB / 3.464 GB, free: 48.76 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.001827/8.074, allocations: 1.225 MB / 3.465 GB, free: 47.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/8.075, allocations: 12.03 kB / 3.466 GB, free: 47.47 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/8.075, allocations: 134.3 kB / 3.466 GB, free: 47.34 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/8.078, allocations: 1.455 MB / 3.467 GB, free: 45.83 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/8.078, allocations: 70.69 kB / 3.467 GB, free: 45.75 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/8.078, allocations: 51.91 kB / 3.467 GB, free: 45.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/8.079, allocations: 491 kB / 3.468 GB, free: 45.21 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/8.079, allocations: 3.984 kB / 3.468 GB, free: 45.21 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/8.079, allocations: 16 kB / 3.468 GB, free: 45.19 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/8.079, allocations: 11.94 kB / 3.468 GB, free: 45.18 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/8.079, allocations: 339.9 kB / 3.468 GB, free: 44.85 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/8.083, allocations: 2.733 MB / 3.471 GB, free: 41.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/8.083, allocations: 380.9 kB / 3.471 GB, free: 41.53 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/8.084, allocations: 245.4 kB / 3.471 GB, free: 41.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/8.084, allocations: 4.328 kB / 3.471 GB, free: 41.28 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/8.084, allocations: 266.2 kB / 3.472 GB, free: 41.01 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 3.467e-06/8.084, allocations: 0 / 3.472 GB, free: 41.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.001166/8.085, allocations: 0.6228 MB / 3.472 GB, free: 40.37 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/8.085, allocations: 63.41 kB / 3.472 GB, free: 40.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/8.088, allocations: 1.536 MB / 3.474 GB, free: 38.75 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/8.088, allocations: 33.7 kB / 3.474 GB, free: 38.71 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/8.088, allocations: 0.5179 MB / 3.474 GB, free: 38.19 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/8.088, allocations: 153.9 kB / 3.474 GB, free: 38.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/8.088, allocations: 12 kB / 3.474 GB, free: 38.03 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/8.088, allocations: 329.9 kB / 3.475 GB, free: 37.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/8.088, allocations: 157.5 kB / 3.475 GB, free: 37.55 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/8.089, allocations: 273 kB / 3.475 GB, free: 37.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/8.089, allocations: 187.7 kB / 3.475 GB, free: 37.05 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/8.089, allocations: 0 / 3.475 GB, free: 37.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001042/8.09, allocations: 0.725 MB / 3.476 GB, free: 36.32 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/8.09, allocations: 9.406 kB / 3.476 GB, free: 36.31 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/8.09, allocations: 8.344 kB / 3.476 GB, free: 36.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/8.091, allocations: 160.7 kB / 3.476 GB, free: 36.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/8.091, allocations: 107.9 kB / 3.476 GB, free: 36.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/8.094, allocations: 2.593 MB / 3.479 GB, free: 33.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/8.094, allocations: 87.48 kB / 3.479 GB, free: 33.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/8.094, allocations: 24.06 kB / 3.479 GB, free: 33.2 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.0001597/8.094, allocations: 139.3 kB / 3.479 GB, free: 33.06 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/8.095, allocations: 118.5 kB / 3.479 GB, free: 32.95 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/8.096, allocations: 0.6964 MB / 3.48 GB, free: 32.23 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/8.096, allocations: 4 kB / 3.48 GB, free: 32.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/8.096, allocations: 4 kB / 3.48 GB, free: 32.23 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/8.096, allocations: 3.953 kB / 3.48 GB, free: 32.22 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/8.098, allocations: 1.706 MB / 3.482 GB, free: 30.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/8.098, allocations: 4 kB / 3.482 GB, free: 30.45 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/8.099, allocations: 55.89 kB / 3.482 GB, free: 30.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/8.099, allocations: 170.5 kB / 3.482 GB, free: 30.23 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/8.099, allocations: 19.98 kB / 3.482 GB, free: 30.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/8.102, allocations: 3.952 MB / 3.486 GB, free: 25.99 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/8.102, allocations: 0 / 3.486 GB, free: 25.99 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/8.104, allocations: 0.965 MB / 3.487 GB, free: 25.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/8.104, allocations: 303.4 kB / 3.487 GB, free: 24.69 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/8.104, allocations: 16 kB / 3.487 GB, free: 24.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/8.105, allocations: 43.91 kB / 3.487 GB, free: 24.63 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/8.105, allocations: 56.34 kB / 3.487 GB, free: 24.58 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/8.105, allocations: 19.98 kB / 3.487 GB, free: 24.56 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001504/8.106, allocations: 1.227 MB / 3.488 GB, free: 23.32 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/8.107, allocations: 0 / 3.488 GB, free: 23.32 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001158/8.108, allocations: 311.6 kB / 3.488 GB, free: 23.02 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.001921/8.11, allocations: 0.9138 MB / 3.489 GB, free: 22.25 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001225/8.111, allocations: 0.6169 MB / 3.49 GB, free: 21.62 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/8.111, allocations: 3.938 kB / 3.49 GB, free: 21.61 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006855/8.112, allocations: 0.5264 MB / 3.49 GB, free: 21.06 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/8.113, allocations: 181.7 kB / 3.491 GB, free: 20.88 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/8.116, allocations: 2.033 MB / 3.493 GB, free: 18.81 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/8.117, allocations: 1.173 MB / 3.494 GB, free: 17.61 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003909/8.117, allocations: 144.7 kB / 3.494 GB, free: 17.47 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/8.117, allocations: 63.42 kB / 3.494 GB, free: 17.41 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/8.117, allocations: 4 kB / 3.494 GB, free: 17.4 MB / 1.151 GB Notification: Performance of Templates: time 0.7451/8.862, allocations: 20.33 MB / 3.514 GB, free: 380.6 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