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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.955/1.955, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001577/0.001577, allocations: 177.2 kB / 487 MB, free: 5.375 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.426/1.426, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.001071/0.001071, allocations: 103.5 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.642e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2969, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.407/4.704, allocations: 2.188 GB / 3.393 GB, free: 113.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/4.704, allocations: 95.28 kB / 3.393 GB, free: 113.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1186/4.823, allocations: 64.34 MB / 3.456 GB, free: 48.69 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.997e-05/4.823, allocations: 20 kB / 3.456 GB, free: 48.67 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.001555/4.824, allocations: 1.237 MB / 3.457 GB, free: 47.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/4.824, allocations: 8.031 kB / 3.457 GB, free: 47.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/4.824, allocations: 142.3 kB / 3.457 GB, free: 47.24 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/4.827, allocations: 1.459 MB / 3.458 GB, free: 45.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/4.827, allocations: 58.69 kB / 3.458 GB, free: 45.66 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/4.827, allocations: 39.97 kB / 3.459 GB, free: 45.62 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004971/4.828, allocations: 317.9 kB / 3.459 GB, free: 45.32 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/4.828, allocations: 425 kB / 3.459 GB, free: 44.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/4.828, allocations: 0 / 3.459 GB, free: 44.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/4.828, allocations: 3.938 kB / 3.459 GB, free: 44.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/4.828, allocations: 15.91 kB / 3.459 GB, free: 44.86 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/4.831, allocations: 2.413 MB / 3.462 GB, free: 42.27 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/4.831, allocations: 237.1 kB / 3.462 GB, free: 42.03 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/4.832, allocations: 261.9 kB / 3.462 GB, free: 41.77 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/4.832, allocations: 12.31 kB / 3.462 GB, free: 41.76 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/4.832, allocations: 227.5 kB / 3.462 GB, free: 41.52 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/4.832, allocations: 0 / 3.462 GB, free: 41.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.0008427/4.833, allocations: 0.5328 MB / 3.463 GB, free: 40.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/4.833, allocations: 59.39 kB / 3.463 GB, free: 40.91 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/4.835, allocations: 1.463 MB / 3.464 GB, free: 39.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/4.835, allocations: 33.64 kB / 3.464 GB, free: 39.39 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/4.835, allocations: 301.9 kB / 3.465 GB, free: 39.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/4.835, allocations: 142 kB / 3.465 GB, free: 38.95 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/4.835, allocations: 4 kB / 3.465 GB, free: 38.95 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.775e-05/4.835, allocations: 333.9 kB / 3.465 GB, free: 38.62 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/4.835, allocations: 149.3 kB / 3.465 GB, free: 38.47 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/4.835, allocations: 270.9 kB / 3.465 GB, free: 38.16 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/4.836, allocations: 188.3 kB / 3.466 GB, free: 37.97 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/4.836, allocations: 4 kB / 3.466 GB, free: 37.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000877/4.837, allocations: 0.64 MB / 3.466 GB, free: 37.32 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/4.837, allocations: 11.98 kB / 3.466 GB, free: 37.31 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/4.837, allocations: 4 kB / 3.466 GB, free: 37.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/4.837, allocations: 132 kB / 3.466 GB, free: 37.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/4.837, allocations: 119.8 kB / 3.467 GB, free: 37.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/4.839, allocations: 2.178 MB / 3.469 GB, free: 34.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/4.84, allocations: 87.59 kB / 3.469 GB, free: 34.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/4.84, allocations: 24 kB / 3.469 GB, free: 34.66 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 {(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.983e-05/4.84, allocations: 126.6 kB / 3.469 GB, free: 34.53 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/4.84, allocations: 114.5 kB / 3.469 GB, free: 34.42 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008752/4.841, allocations: 0.5913 MB / 3.47 GB, free: 33.81 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/4.841, allocations: 7.906 kB / 3.47 GB, free: 33.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/4.841, allocations: 4 kB / 3.47 GB, free: 33.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/4.841, allocations: 3.984 kB / 3.47 GB, free: 33.79 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/4.843, allocations: 1.537 MB / 3.471 GB, free: 32.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/4.843, allocations: 7.984 kB / 3.471 GB, free: 32.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/4.843, allocations: 55.91 kB / 3.471 GB, free: 32.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/4.844, allocations: 149.6 kB / 3.471 GB, free: 31.99 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/4.844, allocations: 15.98 kB / 3.471 GB, free: 31.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/4.846, allocations: 3.484 MB / 3.475 GB, free: 28.27 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/4.846, allocations: 0 / 3.475 GB, free: 28.27 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001035/4.847, allocations: 0.854 MB / 3.476 GB, free: 27.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/4.847, allocations: 299.5 kB / 3.476 GB, free: 27.08 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/4.848, allocations: 7.984 kB / 3.476 GB, free: 27.07 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/4.848, allocations: 39.91 kB / 3.476 GB, free: 27.03 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/4.848, allocations: 43.92 kB / 3.476 GB, free: 26.99 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/4.848, allocations: 15.98 kB / 3.476 GB, free: 26.97 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001014/4.849, allocations: 1.155 MB / 3.477 GB, free: 25.81 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007879/4.85, allocations: 279.6 kB / 3.477 GB, free: 25.54 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.001178/4.851, allocations: 0.9372 MB / 3.478 GB, free: 24.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008271/4.852, allocations: 0.5331 MB / 3.479 GB, free: 24.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/4.852, allocations: 4.312 kB / 3.479 GB, free: 24.15 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004919/4.852, allocations: 450.9 kB / 3.479 GB, free: 23.69 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/4.853, allocations: 166 kB / 3.479 GB, free: 23.54 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/4.856, allocations: 1.988 MB / 3.481 GB, free: 21.51 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/4.857, allocations: 1.223 MB / 3.483 GB, free: 20.25 MB / 1.151 GB Notification: Performance of SimCode: time 2.91e-07/4.857, allocations: 0 / 3.483 GB, free: 20.25 MB / 1.151 GB Notification: Performance of Templates: time 0.0198/4.876, allocations: 13.44 MB / 3.496 GB, free: 6.906 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