Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCon_in.y|TEva_in.y|TSen1.T|TSen2.T|TSet.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCon_in.y|TEva_in.y|TSen1.T|TSen2.T|TSet.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") [: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 1.722/1.722, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009225/0.0009225, allocations: 181.2 kB / 490.8 MB, free: 1.941 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.073/1.073, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0008238/0.0008239, allocations: 94.42 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.35e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1702, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6595/0.8297, allocations: 448.2 MB / 1.649 GB, free: 15.8 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.83, allocations: 111.3 kB / 1.649 GB, free: 15.74 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.888/4.718, allocations: 1.515 GB / 3.164 GB, free: 125.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004149/4.718, allocations: 90.47 kB / 3.164 GB, free: 125.5 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.006788/4.725, allocations: 3.256 MB / 3.167 GB, free: 124.3 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/4.725, allocations: 7.375 kB / 3.167 GB, free: 124.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/4.729, allocations: 0.8429 MB / 3.168 GB, free: 124.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/4.735, allocations: 3.392 MB / 3.171 GB, free: 123.6 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001155/4.736, allocations: 379.2 kB / 3.172 GB, free: 123.6 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/4.736, allocations: 120.6 kB / 3.172 GB, free: 123.6 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002771/4.739, allocations: 1.826 MB / 3.174 GB, free: 123.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/4.741, allocations: 2.014 MB / 3.176 GB, free: 123.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/4.742, allocations: 7.25 kB / 3.176 GB, free: 123.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/4.742, allocations: 1.906 kB / 3.176 GB, free: 123.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/4.742, allocations: 73.81 kB / 3.176 GB, free: 123.4 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/4.754, allocations: 12.69 MB / 3.188 GB, free: 117.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/4.756, allocations: 0.998 MB / 3.189 GB, free: 117.1 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008336/4.757, allocations: 0.7245 MB / 3.19 GB, free: 117.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/4.758, allocations: 1.649 MB / 3.191 GB, free: 115.3 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000995/4.759, allocations: 0.8611 MB / 3.192 GB, free: 115.2 MB / 1.198 GB Notification: Performance of pre-optimization done (n=131): time 2.885e-06/4.759, allocations: 0 / 3.192 GB, free: 115.2 MB / 1.198 GB Notification: Performance of matching and sorting (n=131): time 0.003396/4.762, allocations: 1.745 MB / 3.194 GB, free: 115 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/4.762, allocations: 226 kB / 3.194 GB, free: 114.7 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/4.764, allocations: 1.918 MB / 3.196 GB, free: 114.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/4.764, allocations: 28.36 kB / 3.196 GB, free: 114.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/4.765, allocations: 0.8309 MB / 3.197 GB, free: 114 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/4.765, allocations: 434.1 kB / 3.197 GB, free: 113.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/4.765, allocations: 2.516 kB / 3.197 GB, free: 113.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/4.765, allocations: 364.9 kB / 3.198 GB, free: 113.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/4.766, allocations: 0.6028 MB / 3.198 GB, free: 113.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000942/4.767, allocations: 1.002 MB / 3.199 GB, free: 113 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/4.769, allocations: 0.8797 MB / 3.2 GB, free: 113 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/4.769, allocations: 2.781 kB / 3.2 GB, free: 113 MB / 1.198 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003617/4.772, allocations: 2.11 MB / 3.202 GB, free: 112.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003585/4.773, allocations: 3.049 MB / 3.205 GB, free: 109.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/4.773, allocations: 6.469 kB / 3.205 GB, free: 109.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/4.773, allocations: 98.2 kB / 3.205 GB, free: 109.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/4.775, allocations: 454.6 kB / 3.206 GB, free: 109.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005625/4.775, allocations: 1.234 MB / 3.207 GB, free: 108.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/4.778, allocations: 367.5 kB / 3.207 GB, free: 108.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/4.778, allocations: 81.58 kB / 3.207 GB, free: 108.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-06/4.778, allocations: 6.75 kB / 3.207 GB, free: 108.5 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003227/4.781, allocations: 1.757 MB / 3.209 GB, free: 108.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/4.781, allocations: 11.02 kB / 3.209 GB, free: 108.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/4.781, allocations: 104.9 kB / 3.209 GB, free: 108.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/4.783, allocations: 459 kB / 3.21 GB, free: 108.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/4.785, allocations: 3.018 MB / 3.212 GB, free: 105.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/4.787, allocations: 333.2 kB / 3.213 GB, free: 105.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/4.787, allocations: 83.12 kB / 3.213 GB, free: 105.8 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003048/4.788, allocations: 175.1 kB / 3.213 GB, free: 105.7 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/4.788, allocations: 274 kB / 3.213 GB, free: 105.6 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/4.792, allocations: 2.302 MB / 3.216 GB, free: 105.4 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/4.792, allocations: 27.28 kB / 3.216 GB, free: 105.4 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/4.792, allocations: 0 / 3.216 GB, free: 105.4 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002784/4.795, allocations: 1.778 MB / 3.217 GB, free: 105.1 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006721/4.802, allocations: 5.035 MB / 3.222 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/4.802, allocations: 6.719 kB / 3.222 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/4.803, allocations: 349 kB / 3.223 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/4.803, allocations: 85.39 kB / 3.223 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.983e-05/4.803, allocations: 35.09 kB / 3.223 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004819/4.804, allocations: 1.201 MB / 3.224 GB, free: 103.2 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/4.804, allocations: 7.062 kB / 3.224 GB, free: 103.2 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004233/4.808, allocations: 3.369 MB / 3.227 GB, free: 102.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008924/4.809, allocations: 0.6709 MB / 3.228 GB, free: 102.1 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003505/4.809, allocations: 13.44 kB / 3.228 GB, free: 102.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/4.811, allocations: 259.5 kB / 3.228 GB, free: 102.1 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/4.811, allocations: 96.64 kB / 3.228 GB, free: 102.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/4.812, allocations: 71.88 kB / 3.228 GB, free: 102.1 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.001545/4.813, allocations: 1.441 MB / 3.23 GB, free: 101.9 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.003587/4.817, allocations: 1.517 MB / 3.231 GB, free: 101.7 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.s[1],hex1.thrWayVal.filter.s[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * 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: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001693/4.818, allocations: 1.541 MB / 3.233 GB, free: 101.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003295/4.822, allocations: 2.839 MB / 3.235 GB, free: 101 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/4.822, allocations: 4.719 kB / 3.235 GB, free: 101 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/4.823, allocations: 0.8877 MB / 3.236 GB, free: 100.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/4.827, allocations: 1.097 MB / 3.237 GB, free: 100.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006916/4.834, allocations: 4.133 MB / 3.241 GB, free: 99.86 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/4.835, allocations: 2.106 MB / 3.243 GB, free: 99.1 MB / 1.198 GB Notification: Performance of SimCode: time 9.01e-07/4.835, allocations: 0 / 3.243 GB, free: 99.1 MB / 1.198 GB Notification: Performance of Templates: time 0.07762/4.913, allocations: 65.17 MB / 3.307 GB, free: 96.25 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches