Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") [: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.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.001283/0.001283, allocations: 177.3 kB / 490.8 MB, free: 1.973 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.7863 GB, free: 13.73 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.001162/0.001162, allocations: 103.2 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.023e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3347, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.188/5.523, allocations: 2.191 GB / 3.402 GB, free: 114.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/5.523, allocations: 87.95 kB / 3.402 GB, free: 114.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1458/5.669, allocations: 74.68 MB / 3.475 GB, free: 38.96 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001441/5.669, allocations: 51.88 kB / 3.475 GB, free: 38.91 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002957/5.672, allocations: 1.868 MB / 3.477 GB, free: 36.98 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/5.672, allocations: 8.031 kB / 3.477 GB, free: 36.97 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/5.673, allocations: 241 kB / 3.477 GB, free: 36.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004749/5.677, allocations: 1.887 MB / 3.479 GB, free: 34.78 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/5.678, allocations: 74.98 kB / 3.479 GB, free: 34.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/5.678, allocations: 44 kB / 3.479 GB, free: 34.66 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/5.679, allocations: 0.518 MB / 3.48 GB, free: 34.14 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/5.68, allocations: 0.6336 MB / 3.48 GB, free: 33.49 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/5.68, allocations: 7.984 kB / 3.48 GB, free: 33.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/5.68, allocations: 4 kB / 3.48 GB, free: 33.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/5.68, allocations: 19.94 kB / 3.48 GB, free: 33.46 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/5.684, allocations: 3.639 MB / 3.484 GB, free: 29.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/5.685, allocations: 423.8 kB / 3.484 GB, free: 29.15 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/5.686, allocations: 365.5 kB / 3.485 GB, free: 28.79 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/5.686, allocations: 12.66 kB / 3.485 GB, free: 28.78 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/5.686, allocations: 359 kB / 3.485 GB, free: 28.41 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 3.757e-06/5.686, allocations: 0 / 3.485 GB, free: 28.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001704/5.688, allocations: 0.9405 MB / 3.486 GB, free: 27.46 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/5.688, allocations: 60.06 kB / 3.486 GB, free: 27.39 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/5.692, allocations: 2.825 MB / 3.489 GB, free: 24.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/5.692, allocations: 29.7 kB / 3.489 GB, free: 24.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/5.692, allocations: 458.9 kB / 3.489 GB, free: 24.05 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/5.692, allocations: 224.8 kB / 3.489 GB, free: 23.82 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/5.692, allocations: 0 / 3.489 GB, free: 23.82 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.31e-05/5.692, allocations: 334 kB / 3.49 GB, free: 23.49 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/5.693, allocations: 249.9 kB / 3.49 GB, free: 23.25 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/5.693, allocations: 395 kB / 3.49 GB, free: 22.81 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/5.694, allocations: 300.7 kB / 3.491 GB, free: 22.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/5.694, allocations: 0 / 3.491 GB, free: 22.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001587/5.695, allocations: 1.078 MB / 3.492 GB, free: 21.43 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/5.695, allocations: 8 kB / 3.492 GB, free: 21.42 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/5.695, allocations: 4 kB / 3.492 GB, free: 21.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006976/5.696, allocations: 262.1 kB / 3.492 GB, free: 21.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/5.696, allocations: 155.7 kB / 3.492 GB, free: 21.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/5.7, allocations: 4.325 MB / 3.496 GB, free: 16.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/5.701, allocations: 107.3 kB / 3.496 GB, free: 16.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/5.701, allocations: 31.94 kB / 3.496 GB, free: 16.31 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/5.702, allocations: 131.9 kB / 3.497 GB, free: 16.18 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/5.702, allocations: 213.3 kB / 3.497 GB, free: 15.96 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/5.704, allocations: 1.046 MB / 3.498 GB, free: 14.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/5.704, allocations: 15.89 kB / 3.498 GB, free: 14.89 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/5.704, allocations: 4 kB / 3.498 GB, free: 14.88 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/5.704, allocations: 3.984 kB / 3.498 GB, free: 14.88 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/5.708, allocations: 2.646 MB / 3.5 GB, free: 12.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/5.708, allocations: 0 / 3.5 GB, free: 12.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/5.708, allocations: 87.98 kB / 3.501 GB, free: 12.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006076/5.708, allocations: 261.5 kB / 3.501 GB, free: 11.83 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/5.709, allocations: 7.984 kB / 3.501 GB, free: 11.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/5.712, allocations: 4.344 MB / 3.505 GB, free: 7.254 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/5.712, allocations: 3.906 kB / 3.505 GB, free: 7.25 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002414/5.715, allocations: 1.448 MB / 3.506 GB, free: 5.777 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009601/5.716, allocations: 498.1 kB / 3.507 GB, free: 5.27 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004098/5.716, allocations: 11.98 kB / 3.507 GB, free: 5.258 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/5.717, allocations: 51.86 kB / 3.507 GB, free: 5.207 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/5.717, allocations: 64.55 kB / 3.507 GB, free: 5.145 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/5.717, allocations: 23.98 kB / 3.507 GB, free: 5.121 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003177/5.72, allocations: 2.228 MB / 3.509 GB, free: 2.879 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001489/5.722, allocations: 423.4 kB / 3.51 GB, free: 2.465 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/5.723, allocations: 0.9417 MB / 3.511 GB, free: 1.617 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00155/5.725, allocations: 0.9064 MB / 3.511 GB, free: 0.6953 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/5.725, allocations: 0 / 3.511 GB, free: 0.6953 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008074/5.726, allocations: 0.6063 MB / 3.512 GB, free: 72 kB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3704/6.096, allocations: 232.9 kB / 3.512 GB, free: 0.4936 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/6.102, allocations: 3.627 MB / 3.516 GB, free: 0.493 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/6.103, allocations: 1.688 MB / 3.517 GB, free: 0.4923 GB / 1.151 GB Notification: Performance of SimCode: time 1.292e-06/6.103, allocations: 0 / 3.517 GB, free: 0.4923 GB / 1.151 GB Notification: Performance of Templates: time 0.03248/6.135, allocations: 19.84 MB / 3.537 GB, free: 0.4916 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches