Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") [: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.065/2.065, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001088/0.001088, allocations: 177.3 kB / 490.8 MB, free: 1.969 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.398/1.398, allocations: 221.3 MB / 0.7863 GB, free: 13.81 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.00107/0.00107, allocations: 88.11 kB / 0.9264 GB, free: 14.35 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.978e-06/3.988e-06, allocations: 0 / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3289, allocations: 143 MB / 1.212 GB, free: 21.93 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.293/5.622, allocations: 2.189 GB / 3.4 GB, free: 89.56 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/5.622, allocations: 87.89 kB / 3.401 GB, free: 89.48 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1363/5.758, allocations: 67.44 MB / 3.466 GB, free: 21.51 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002016/5.759, allocations: 31.92 kB / 3.466 GB, free: 21.48 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003184/5.762, allocations: 1.38 MB / 3.468 GB, free: 20.05 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/5.762, allocations: 8.031 kB / 3.468 GB, free: 20.04 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006743/5.763, allocations: 166 kB / 3.468 GB, free: 19.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/5.767, allocations: 1.568 MB / 3.469 GB, free: 18.26 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/5.767, allocations: 62.69 kB / 3.47 GB, free: 18.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/5.767, allocations: 32 kB / 3.47 GB, free: 18.16 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007082/5.768, allocations: 349.9 kB / 3.47 GB, free: 17.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/5.768, allocations: 468.9 kB / 3.47 GB, free: 17.35 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/5.768, allocations: 0 / 3.47 GB, free: 17.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/5.769, allocations: 0 / 3.47 GB, free: 17.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/5.769, allocations: 12 kB / 3.47 GB, free: 17.34 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/5.772, allocations: 2.708 MB / 3.473 GB, free: 14.41 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/5.773, allocations: 286.9 kB / 3.473 GB, free: 14.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/5.773, allocations: 273.7 kB / 3.474 GB, free: 13.86 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/5.773, allocations: 8.359 kB / 3.474 GB, free: 13.85 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003682/5.773, allocations: 260.3 kB / 3.474 GB, free: 13.58 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 2.644e-06/5.773, allocations: 0 / 3.474 GB, free: 13.58 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.001272/5.775, allocations: 0.6278 MB / 3.474 GB, free: 12.94 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/5.775, allocations: 59.84 kB / 3.474 GB, free: 12.87 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/5.777, allocations: 1.768 MB / 3.476 GB, free: 11.09 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/5.778, allocations: 29.7 kB / 3.476 GB, free: 11.05 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/5.778, allocations: 331.3 kB / 3.477 GB, free: 10.72 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/5.778, allocations: 161.7 kB / 3.477 GB, free: 10.56 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/5.778, allocations: 4 kB / 3.477 GB, free: 10.55 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/5.778, allocations: 326 kB / 3.477 GB, free: 10.23 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/5.778, allocations: 173.2 kB / 3.477 GB, free: 10.06 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/5.779, allocations: 276.7 kB / 3.477 GB, free: 9.746 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/5.779, allocations: 202.7 kB / 3.478 GB, free: 9.551 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/5.779, allocations: 4 kB / 3.478 GB, free: 9.547 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00115/5.78, allocations: 0.7209 MB / 3.478 GB, free: 8.816 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/5.78, allocations: 4 kB / 3.478 GB, free: 8.812 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/5.78, allocations: 8 kB / 3.478 GB, free: 8.805 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/5.78, allocations: 163.3 kB / 3.479 GB, free: 8.645 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/5.781, allocations: 119.8 kB / 3.479 GB, free: 8.527 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/5.783, allocations: 2.476 MB / 3.481 GB, free: 5.941 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/5.784, allocations: 91.5 kB / 3.481 GB, free: 5.852 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/5.784, allocations: 20 kB / 3.481 GB, free: 5.832 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: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001293/5.784, allocations: 131.4 kB / 3.481 GB, free: 5.699 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/5.784, allocations: 134.3 kB / 3.481 GB, free: 5.566 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/5.785, allocations: 0.703 MB / 3.482 GB, free: 4.84 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/5.786, allocations: 11.94 kB / 3.482 GB, free: 4.828 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/5.786, allocations: 0 / 3.482 GB, free: 4.828 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/5.786, allocations: 0 / 3.482 GB, free: 4.828 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/5.788, allocations: 1.802 MB / 3.484 GB, free: 2.973 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/5.788, allocations: 0 / 3.484 GB, free: 2.973 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/5.788, allocations: 67.89 kB / 3.484 GB, free: 2.906 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/5.789, allocations: 172.4 kB / 3.484 GB, free: 2.734 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/5.789, allocations: 11.98 kB / 3.484 GB, free: 2.723 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5637/6.352, allocations: 3.771 MB / 3.488 GB, free: 0.5006 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/6.352, allocations: 3.781 kB / 3.488 GB, free: 0.5006 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001812/6.354, allocations: 0.9855 MB / 3.489 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/6.355, allocations: 344 kB / 3.489 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/6.355, allocations: 11.48 kB / 3.489 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/6.355, allocations: 41.53 kB / 3.489 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/6.356, allocations: 47.72 kB / 3.489 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/6.356, allocations: 17.67 kB / 3.489 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.001661/6.357, allocations: 1.393 MB / 3.491 GB, free: 0.5002 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001097/6.358, allocations: 316.3 kB / 3.491 GB, free: 0.5002 GB / 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/6.36, allocations: 0.9471 MB / 3.492 GB, free: 0.5001 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001034/6.361, allocations: 0.5992 MB / 3.492 GB, free: 0.5 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/6.361, allocations: 0 / 3.492 GB, free: 0.5 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005952/6.361, allocations: 479.3 kB / 3.493 GB, free: 0.4998 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/6.362, allocations: 190.8 kB / 3.493 GB, free: 0.4998 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/6.366, allocations: 2.387 MB / 3.495 GB, free: 0.4994 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008875/6.367, allocations: 1.326 MB / 3.497 GB, free: 0.4987 GB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/6.367, allocations: 2.281 kB / 3.497 GB, free: 0.4987 GB / 1.151 GB Notification: Performance of Templates: time 0.025/6.392, allocations: 14.95 MB / 3.511 GB, free: 0.498 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches