Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.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_latest_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 10.0.0-master/package.mo): time 2.078/2.078, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001075/0.001075, allocations: 187.7 kB / 490.8 MB, free: 1.938 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.488/1.488, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.001012/0.001012, allocations: 92.22 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.175e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3244, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.413/5.738, allocations: 2.188 GB / 3.4 GB, free: 118.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/5.738, allocations: 91.94 kB / 3.4 GB, free: 118.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.133/5.871, allocations: 64.33 MB / 3.463 GB, free: 53.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000186/5.872, allocations: 31.94 kB / 3.463 GB, free: 53.95 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.002824/5.874, allocations: 1.237 MB / 3.464 GB, free: 52.66 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/5.874, allocations: 12.03 kB / 3.464 GB, free: 52.65 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/5.875, allocations: 130.3 kB / 3.464 GB, free: 52.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/5.879, allocations: 1.463 MB / 3.466 GB, free: 51.01 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/5.879, allocations: 62.69 kB / 3.466 GB, free: 50.94 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/5.879, allocations: 31.94 kB / 3.466 GB, free: 50.91 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006928/5.88, allocations: 317.9 kB / 3.466 GB, free: 50.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/5.88, allocations: 421 kB / 3.466 GB, free: 50.17 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/5.88, allocations: 0 / 3.466 GB, free: 50.17 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/5.88, allocations: 4 kB / 3.466 GB, free: 50.17 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/5.881, allocations: 11.94 kB / 3.466 GB, free: 50.16 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/5.884, allocations: 2.424 MB / 3.469 GB, free: 47.55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/5.884, allocations: 240.4 kB / 3.469 GB, free: 47.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/5.885, allocations: 272 kB / 3.469 GB, free: 47.04 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/5.885, allocations: 4.328 kB / 3.469 GB, free: 47.04 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/5.885, allocations: 223.6 kB / 3.469 GB, free: 46.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/5.885, allocations: 0 / 3.469 GB, free: 46.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001105/5.886, allocations: 0.5368 MB / 3.47 GB, free: 46.25 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/5.886, allocations: 63.36 kB / 3.47 GB, free: 46.18 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/5.889, allocations: 1.467 MB / 3.472 GB, free: 44.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/5.889, allocations: 29.7 kB / 3.472 GB, free: 44.67 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/5.889, allocations: 301.9 kB / 3.472 GB, free: 44.37 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/5.889, allocations: 141.9 kB / 3.472 GB, free: 44.23 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/5.889, allocations: 0 / 3.472 GB, free: 44.23 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/5.889, allocations: 334 kB / 3.472 GB, free: 43.89 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/5.89, allocations: 149.3 kB / 3.472 GB, free: 43.75 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/5.89, allocations: 274.9 kB / 3.473 GB, free: 43.43 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/5.89, allocations: 175.8 kB / 3.473 GB, free: 43.26 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/5.89, allocations: 4 kB / 3.473 GB, free: 43.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001005/5.891, allocations: 0.6526 MB / 3.473 GB, free: 42.59 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/5.891, allocations: 7.938 kB / 3.473 GB, free: 42.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/5.891, allocations: 4 kB / 3.474 GB, free: 42.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/5.892, allocations: 124.8 kB / 3.474 GB, free: 42.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/5.892, allocations: 120 kB / 3.474 GB, free: 42.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/5.894, allocations: 2.192 MB / 3.476 GB, free: 40.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/5.895, allocations: 83.59 kB / 3.476 GB, free: 39.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/5.895, allocations: 23.94 kB / 3.476 GB, free: 39.93 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 0.0001328/5.895, allocations: 122.7 kB / 3.476 GB, free: 39.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/5.895, allocations: 118.5 kB / 3.476 GB, free: 39.69 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/5.896, allocations: 0.5874 MB / 3.477 GB, free: 39.08 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/5.896, allocations: 7.938 kB / 3.477 GB, free: 39.07 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/5.896, allocations: 7.906 kB / 3.477 GB, free: 39.07 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/5.896, allocations: 3.984 kB / 3.477 GB, free: 39.06 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/5.898, allocations: 1.553 MB / 3.478 GB, free: 37.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/5.898, allocations: 0 / 3.478 GB, free: 37.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/5.898, allocations: 47.97 kB / 3.478 GB, free: 37.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/5.899, allocations: 161.6 kB / 3.479 GB, free: 37.25 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/5.899, allocations: 11.94 kB / 3.479 GB, free: 37.24 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/5.901, allocations: 3.474 MB / 3.482 GB, free: 33.54 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/5.901, allocations: 0 / 3.482 GB, free: 33.54 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001102/5.903, allocations: 0.8503 MB / 3.483 GB, free: 32.67 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/5.903, allocations: 295.5 kB / 3.483 GB, free: 32.36 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/5.903, allocations: 12 kB / 3.483 GB, free: 32.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/5.903, allocations: 43.91 kB / 3.483 GB, free: 32.31 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/5.904, allocations: 39.92 kB / 3.483 GB, free: 32.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/5.904, allocations: 19.98 kB / 3.483 GB, free: 32.25 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001248/5.905, allocations: 1.155 MB / 3.484 GB, free: 31.09 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009631/5.906, allocations: 279.6 kB / 3.485 GB, free: 30.82 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.001374/5.907, allocations: 0.9338 MB / 3.485 GB, free: 29.98 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001037/5.908, allocations: 0.5372 MB / 3.486 GB, free: 29.43 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/5.908, allocations: 0 / 3.486 GB, free: 29.43 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005162/5.909, allocations: 459.3 kB / 3.486 GB, free: 28.96 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000853/5.91, allocations: 155.4 kB / 3.487 GB, free: 28.82 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/5.913, allocations: 1.977 MB / 3.488 GB, free: 26.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/5.913, allocations: 1.235 MB / 3.49 GB, free: 25.53 MB / 1.151 GB Notification: Performance of SimCode: time 1.503e-06/5.913, allocations: 0 / 3.49 GB, free: 25.53 MB / 1.151 GB Notification: Performance of Templates: time 0.02232/5.936, allocations: 13.45 MB / 3.503 GB, free: 12.19 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches