Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.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_ResetController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tri.y|hex1.con.I.y|hex2.con.I.y|hex3.con.I.y|TSen1.T|hex1.TSet|TSen2.T|hex2.TSet|TSen3.T|hex3.TSet",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tri.y|hex1.con.I.y|hex2.con.I.y|hex3.con.I.y|TSen1.T|hex1.TSet|TSen2.T|hex2.TSet|TSen3.T|hex3.TSet",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") [: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.725/1.725, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009129/0.0009126, allocations: 177.3 kB / 490.8 MB, free: 1.953 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.078/1.078, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008088/0.0008088, allocations: 89.62 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.26e-06/5.28e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1724, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6611/0.8335, allocations: 450.6 MB / 1.652 GB, free: 13.4 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.8337, allocations: 100 kB / 1.652 GB, free: 13.34 MB / 1.073 GB Notification: Performance of FrontEnd: time 6.435/7.269, allocations: 2.66 GB / 4.311 GB, free: 77.29 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.000778/7.27, allocations: 166 kB / 4.311 GB, free: 77.25 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.01149/7.281, allocations: 5.8 MB / 4.317 GB, free: 74.5 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/7.281, allocations: 10.25 kB / 4.317 GB, free: 74.5 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/7.286, allocations: 1.427 MB / 4.318 GB, free: 74.12 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/7.297, allocations: 6.478 MB / 4.325 GB, free: 73.07 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001722/7.298, allocations: 0.5853 MB / 4.325 GB, free: 73.06 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004797/7.299, allocations: 246.3 kB / 4.326 GB, free: 73.05 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005353/7.304, allocations: 3.442 MB / 4.329 GB, free: 73.04 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005357/7.31, allocations: 3.833 MB / 4.333 GB, free: 72.57 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.426e-05/7.31, allocations: 3.938 kB / 4.333 GB, free: 72.56 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/7.31, allocations: 11.22 kB / 4.333 GB, free: 72.56 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.994e-05/7.31, allocations: 137.3 kB / 4.333 GB, free: 72.55 MB / 1.245 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/7.336, allocations: 22.3 MB / 4.355 GB, free: 63 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/7.339, allocations: 1.739 MB / 4.356 GB, free: 62.97 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/7.34, allocations: 1.239 MB / 4.358 GB, free: 62.95 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/7.342, allocations: 1.923 MB / 4.359 GB, free: 60.89 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002189/7.344, allocations: 1.371 MB / 4.361 GB, free: 60.79 MB / 1.245 GB Notification: Performance of pre-optimization done (n=236): time 4.108e-06/7.344, allocations: 0.8438 kB / 4.361 GB, free: 60.79 MB / 1.245 GB Notification: Performance of matching and sorting (n=236): time 0.006521/7.35, allocations: 2.946 MB / 4.364 GB, free: 60.44 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/7.351, allocations: 264.9 kB / 4.364 GB, free: 60.16 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/7.356, allocations: 3.695 MB / 4.367 GB, free: 58.89 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0002801/7.356, allocations: 31.64 kB / 4.368 GB, free: 58.86 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/7.357, allocations: 1.59 MB / 4.369 GB, free: 57.78 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/7.358, allocations: 0.773 MB / 4.37 GB, free: 57.17 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/7.358, allocations: 1 kB / 4.37 GB, free: 57.17 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.000124/7.358, allocations: 418.2 kB / 4.37 GB, free: 56.81 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/7.36, allocations: 1.101 MB / 4.371 GB, free: 56.3 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/7.362, allocations: 2.002 MB / 4.373 GB, free: 54.72 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003373/7.365, allocations: 1.611 MB / 4.375 GB, free: 54.1 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/7.365, allocations: 6.656 kB / 4.375 GB, free: 54.1 MB / 1.245 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.006628/7.372, allocations: 3.719 MB / 4.378 GB, free: 52.63 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001013/7.373, allocations: 8.706 MB / 4.387 GB, free: 43.34 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/7.373, allocations: 21.91 kB / 4.387 GB, free: 43.33 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.539e-05/7.373, allocations: 35.86 kB / 4.387 GB, free: 43.33 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004745/7.378, allocations: 1.014 MB / 4.388 GB, free: 43.24 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/7.38, allocations: 5.507 MB / 4.393 GB, free: 37.81 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004619/7.385, allocations: 0.5928 MB / 4.394 GB, free: 37.62 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/7.385, allocations: 152.7 kB / 4.394 GB, free: 37.59 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/7.385, allocations: 5.375 kB / 4.394 GB, free: 37.59 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005492/7.39, allocations: 3.119 MB / 4.397 GB, free: 36.45 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/7.39, allocations: 18.62 kB / 4.397 GB, free: 36.45 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/7.39, allocations: 35.22 kB / 4.397 GB, free: 36.45 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/7.394, allocations: 0.9277 MB / 4.398 GB, free: 36.36 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/7.394, allocations: 42.55 kB / 4.398 GB, free: 36.35 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/7.399, allocations: 0.5492 MB / 4.399 GB, free: 36.19 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/7.399, allocations: 152.5 kB / 4.399 GB, free: 36.17 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007493/7.4, allocations: 225.6 kB / 4.399 GB, free: 35.97 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009295/7.401, allocations: 0.5109 MB / 4.4 GB, free: 35.69 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00763/7.409, allocations: 3.805 MB / 4.403 GB, free: 34.34 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/7.409, allocations: 36.14 kB / 4.403 GB, free: 34.34 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/7.409, allocations: 0 / 4.403 GB, free: 34.34 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004913/7.414, allocations: 2.737 MB / 4.406 GB, free: 33.25 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/7.428, allocations: 8.165 MB / 4.414 GB, free: 29.71 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/7.428, allocations: 6.188 kB / 4.414 GB, free: 29.71 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003332/7.432, allocations: 0.7294 MB / 4.415 GB, free: 29.64 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.328e-05/7.432, allocations: 16.44 kB / 4.415 GB, free: 29.64 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/7.432, allocations: 53.42 kB / 4.415 GB, free: 29.62 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/7.433, allocations: 5.384 MB / 4.42 GB, free: 24.25 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/7.433, allocations: 6.688 kB / 4.42 GB, free: 24.24 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008971/7.442, allocations: 5.318 MB / 4.425 GB, free: 21.58 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002682/7.445, allocations: 1.178 MB / 4.426 GB, free: 20.82 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007257/7.446, allocations: 16.12 kB / 4.426 GB, free: 20.81 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/7.449, allocations: 459.2 kB / 4.427 GB, free: 20.75 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/7.45, allocations: 160 kB / 4.427 GB, free: 20.72 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002624/7.45, allocations: 125.3 kB / 4.427 GB, free: 20.7 MB / 1.245 GB Notification: Performance of sort global known variables: time 0.004171/7.454, allocations: 2.743 MB / 4.43 GB, free: 19.07 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.006717/7.461, allocations: 2.739 MB / 4.432 GB, free: 16.36 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.s[1],hex1.thrWayVal.filter.s[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.s[1],hex2.thrWayVal.filter.s[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.s[1],hex3.thrWayVal.filter.s[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulseStart) * 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 (280): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003103/7.464, allocations: 2.611 MB / 4.435 GB, free: 14.02 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.007939/7.472, allocations: 4.897 MB / 4.44 GB, free: 9.355 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/7.472, allocations: 0.5 kB / 4.44 GB, free: 9.352 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/7.474, allocations: 1.553 MB / 4.441 GB, free: 7.875 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008857/7.483, allocations: 2.214 MB / 4.443 GB, free: 6.289 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/7.498, allocations: 8.024 MB / 4.451 GB, free: 15.46 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003942/7.502, allocations: 3.418 MB / 4.455 GB, free: 12.91 MB / 1.26 GB Notification: Performance of SimCode: time 4.81e-07/7.502, allocations: 0 / 4.455 GB, free: 12.91 MB / 1.26 GB Notification: Performance of Templates: time 0.559/8.061, allocations: 120.7 MB / 4.572 GB, free: 196.4 MB / 1.276 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches