Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.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.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCoo.TRooSet|conCoo.TRoo|conCoo.TSupSet|dewPoi.TDewPoi|conCoo.y|conCoo.yPum|conCoo.on",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum") translateModel(Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCoo.TRooSet|conCoo.TRoo|conCoo.TSupSet|dewPoi.TDewPoi|conCoo.y|conCoo.yPum|conCoo.on",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum") [: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.708/1.708, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000929/0.000929, allocations: 186 kB / 487 MB, free: 0.75 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.096/1.096, allocations: 221.4 MB / 0.7819 GB, free: 6.82 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 104.2 kB / 0.9213 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.103e-06, allocations: 0 / 1.066 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.5201, allocations: 142.3 MB / 1.205 GB, free: 72.73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.6839, allocations: 156.9 MB / 1.358 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.6841, allocations: 97.05 kB / 1.358 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.03051/0.7147, allocations: 12.25 MB / 1.37 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.7147, allocations: 8 kB / 1.37 GB, free: 10.15 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009292/0.7157, allocations: 0.7338 MB / 1.371 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.7157, allocations: 12.03 kB / 1.371 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.7164, allocations: 119.2 kB / 1.371 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.7171, allocations: 457.5 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.7171, allocations: 8.688 kB / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.7172, allocations: 16 kB / 1.372 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004132/0.7176, allocations: 242.1 kB / 1.372 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.7181, allocations: 295.8 kB / 1.372 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.7181, allocations: 0 / 1.372 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.7181, allocations: 4 kB / 1.372 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.7181, allocations: 7.984 kB / 1.372 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.7199, allocations: 1.143 MB / 1.373 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.7203, allocations: 279 kB / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.7205, allocations: 121.2 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.7206, allocations: 7.984 kB / 1.374 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.7208, allocations: 184.6 kB / 1.374 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.7208, allocations: 0 / 1.374 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24): time 0.0004987/0.7213, allocations: 282.1 kB / 1.374 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.7214, allocations: 77.11 kB / 1.374 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/0.7219, allocations: 493 kB / 1.375 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.7219, allocations: 33.7 kB / 1.375 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.722, allocations: 188.2 kB / 1.375 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.7221, allocations: 70.91 kB / 1.375 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.7221, allocations: 3.938 kB / 1.375 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7222, allocations: 354.8 kB / 1.375 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.7225, allocations: 155.9 kB / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.7227, allocations: 201.9 kB / 1.376 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.723, allocations: 175.7 kB / 1.376 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7231, allocations: 3.906 kB / 1.376 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000709/0.7238, allocations: 440.8 kB / 1.376 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/0.7238, allocations: 182.2 kB / 1.376 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7239, allocations: 4.031 kB / 1.376 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7239, allocations: 4 kB / 1.377 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.7243, allocations: 71.88 kB / 1.377 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.7243, allocations: 0 / 1.377 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.7246, allocations: 49.25 kB / 1.377 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.7247, allocations: 15.98 kB / 1.377 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-06/0.7247, allocations: 4 kB / 1.377 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006138/0.7253, allocations: 367.5 kB / 1.377 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-06/0.7253, allocations: 0 / 1.377 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.7253, allocations: 4.031 kB / 1.377 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.7257, allocations: 67.89 kB / 1.377 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7257, allocations: 7.906 kB / 1.377 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.726, allocations: 35.83 kB / 1.377 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.726, allocations: 11.98 kB / 1.377 GB, free: 3.07 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TPhiRooMea.tab.nextTimeEvent,TPhiRooMea.tab.nextTimeEvent,$PRE.TPhiRooMea.tab.nextTimeEventScaled,TPhiRooMea.tab.nextTimeEventScaled,$PRE.conCoo.hysCoo.y,conCoo.hysCoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.374e-05/0.7261, allocations: 112.9 kB / 1.377 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.7262, allocations: 49.95 kB / 1.377 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006219/0.7268, allocations: 333.2 kB / 1.378 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.7269, allocations: 11.91 kB / 1.378 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7269, allocations: 0 / 1.378 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7269, allocations: 3.984 kB / 1.378 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.7277, allocations: 0.7894 MB / 1.378 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7278, allocations: 0 / 1.378 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.7281, allocations: 58.02 kB / 1.378 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.7281, allocations: 7.938 kB / 1.378 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.7281, allocations: 11.92 kB / 1.378 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7281, allocations: 0 / 1.378 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7281, allocations: 4 kB / 1.378 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004714/0.7286, allocations: 412.5 kB / 1.379 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.7288, allocations: 165 kB / 1.379 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.7289, allocations: 11.98 kB / 1.379 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.7292, allocations: 23.89 kB / 1.379 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.7293, allocations: 23.91 kB / 1.379 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.7293, allocations: 15.98 kB / 1.379 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003028/0.7296, allocations: 339.2 kB / 1.379 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000546/0.7302, allocations: 181.3 kB / 1.38 GB, free: 476 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,TPhiRooMea.tab.nextTimeEvent,TPhiRooMea.tab.nextTimeEventScaled,conCoo.hysCoo.y) * Number of discrete states: 3 (TPhiRooMea.tab.nextTimeEvent,TPhiRooMea.tab.nextTimeEventScaled,conCoo.hysCoo.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006814/0.7309, allocations: 344.2 kB / 1.38 GB, free: 268 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007131/0.7316, allocations: 495 kB / 1.38 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7316, allocations: 4.062 kB / 1.38 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.7318, allocations: 135.8 kB / 1.38 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.7323, allocations: 96.33 kB / 1.381 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.7334, allocations: 0.6355 MB / 1.381 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.734, allocations: 0.9092 MB / 1.382 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.734, allocations: 0 / 1.382 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of Templates: time 0.01291/0.7469, allocations: 8.394 MB / 1.39 GB, free: 5.691 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.sim & ./Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_RadiantSystems_Cooling_Validation_HighMassSupplyTemperature_TRoomRelHum.csv","../files/Buildings_9_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches