Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.77/1.77, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001012/0.001012, allocations: 172.7 kB / 487 MB, free: 5.43 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.174/1.174, allocations: 221.3 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008839/0.0008839, allocations: 98.52 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.442e-06, allocations: 0 / 1.066 GB, free: 168.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2009, allocations: 142.3 MB / 1.205 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7743/0.9752, allocations: 449.9 MB / 1.645 GB, free: 6.012 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.9755, allocations: 98 kB / 1.645 GB, free: 5.957 MB / 1.073 GB Notification: Performance of FrontEnd: time 7.116/8.091, allocations: 2.66 GB / 4.304 GB, free: 85.29 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.0005983/8.092, allocations: 166.4 kB / 4.304 GB, free: 85.26 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.0117/8.104, allocations: 5.8 MB / 4.31 GB, free: 82.5 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/8.104, allocations: 12.16 kB / 4.31 GB, free: 82.5 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00572/8.11, allocations: 1.431 MB / 4.312 GB, free: 82.13 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/8.122, allocations: 6.464 MB / 4.318 GB, free: 81.07 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001873/8.124, allocations: 0.5892 MB / 4.318 GB, free: 81.07 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007701/8.125, allocations: 249 kB / 4.319 GB, free: 81.06 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00652/8.131, allocations: 3.449 MB / 4.322 GB, free: 81.05 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006586/8.138, allocations: 3.823 MB / 4.326 GB, free: 80.57 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.214e-05/8.138, allocations: 6.812 kB / 4.326 GB, free: 80.57 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/8.138, allocations: 6.281 kB / 4.326 GB, free: 80.57 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/8.138, allocations: 139.8 kB / 4.326 GB, free: 80.56 MB / 1.245 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/8.168, allocations: 22.31 MB / 4.348 GB, free: 66.3 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/8.17, allocations: 1.737 MB / 4.349 GB, free: 65.53 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/8.172, allocations: 1.239 MB / 4.351 GB, free: 64.98 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/8.173, allocations: 1.925 MB / 4.352 GB, free: 62.88 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/8.176, allocations: 1.375 MB / 4.354 GB, free: 62.28 MB / 1.245 GB Notification: Performance of pre-optimization done (n=236): time 5.03e-06/8.176, allocations: 0 / 4.354 GB, free: 62.28 MB / 1.245 GB Notification: Performance of matching and sorting (n=236): time 0.006841/8.182, allocations: 2.945 MB / 4.357 GB, free: 61.12 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/8.183, allocations: 263.6 kB / 4.357 GB, free: 60.84 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005973/8.189, allocations: 3.7 MB / 4.361 GB, free: 59.34 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0004002/8.189, allocations: 31.67 kB / 4.361 GB, free: 59.31 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/8.191, allocations: 1.578 MB / 4.362 GB, free: 58.18 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007866/8.191, allocations: 0.7714 MB / 4.363 GB, free: 57.5 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/8.192, allocations: 4 kB / 4.363 GB, free: 57.5 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0001267/8.192, allocations: 418.1 kB / 4.363 GB, free: 57.11 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/8.193, allocations: 1.108 MB / 4.364 GB, free: 56.55 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/8.195, allocations: 1.995 MB / 4.366 GB, free: 54.86 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/8.199, allocations: 1.611 MB / 4.368 GB, free: 53.95 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/8.199, allocations: 3 kB / 4.368 GB, free: 53.95 MB / 1.245 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.007434/8.206, allocations: 3.72 MB / 4.372 GB, free: 52.08 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001359/8.208, allocations: 8.71 MB / 4.38 GB, free: 42.76 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/8.208, allocations: 21.67 kB / 4.38 GB, free: 42.76 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.96e-05/8.208, allocations: 36.06 kB / 4.38 GB, free: 42.76 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005163/8.213, allocations: 1.017 MB / 4.381 GB, free: 42.46 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/8.215, allocations: 5.497 MB / 4.386 GB, free: 36.98 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005579/8.221, allocations: 0.5963 MB / 4.387 GB, free: 36.68 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/8.221, allocations: 157.7 kB / 4.387 GB, free: 36.64 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/8.221, allocations: 3.219 kB / 4.387 GB, free: 36.64 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006439/8.228, allocations: 3.112 MB / 4.39 GB, free: 34.27 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/8.228, allocations: 16 kB / 4.39 GB, free: 34.25 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/8.228, allocations: 36 kB / 4.39 GB, free: 34.22 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/8.231, allocations: 0.9408 MB / 4.391 GB, free: 33.28 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/8.231, allocations: 43.86 kB / 4.391 GB, free: 33.23 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/8.236, allocations: 0.5465 MB / 4.392 GB, free: 32.69 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/8.237, allocations: 155.9 kB / 4.392 GB, free: 32.54 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.0007719/8.237, allocations: 226.2 kB / 4.392 GB, free: 32.3 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007475/8.238, allocations: 0.5125 MB / 4.393 GB, free: 31.79 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007674/8.246, allocations: 3.815 MB / 4.396 GB, free: 27.97 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/8.246, allocations: 26.41 kB / 4.396 GB, free: 27.95 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/8.246, allocations: 0 / 4.396 GB, free: 27.95 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004747/8.251, allocations: 2.744 MB / 4.399 GB, free: 25.14 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/8.264, allocations: 8.172 MB / 4.407 GB, free: 16.91 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/8.264, allocations: 6.125 kB / 4.407 GB, free: 16.91 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003189/8.268, allocations: 0.7258 MB / 4.408 GB, free: 16.18 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.936e-05/8.268, allocations: 12 kB / 4.408 GB, free: 16.17 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/8.268, allocations: 51.94 kB / 4.408 GB, free: 16.12 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/8.269, allocations: 5.392 MB / 4.413 GB, free: 10.52 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/8.269, allocations: 16.02 kB / 4.413 GB, free: 10.5 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008236/8.278, allocations: 5.313 MB / 4.418 GB, free: 5.023 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/8.28, allocations: 1.181 MB / 4.419 GB, free: 3.816 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007169/8.281, allocations: 12 kB / 4.419 GB, free: 3.805 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003682/8.285, allocations: 457.8 kB / 4.42 GB, free: 3.359 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/8.285, allocations: 161.8 kB / 4.42 GB, free: 3.199 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/8.285, allocations: 123.9 kB / 4.42 GB, free: 3.078 MB / 1.245 GB Notification: Performance of sort global known variables: time 0.003602/8.289, allocations: 2.746 MB / 4.423 GB, free: 372 kB / 1.245 GB Notification: Performance of remove unused functions: time 0.007692/8.296, allocations: 2.747 MB / 4.426 GB, free: 13.61 MB / 1.26 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.003675/8.3, allocations: 2.617 MB / 4.428 GB, free: 11.1 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.009217/8.309, allocations: 4.886 MB / 4.433 GB, free: 6.188 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/8.309, allocations: 4.438 kB / 4.433 GB, free: 6.184 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.002461/8.312, allocations: 1.55 MB / 4.434 GB, free: 4.629 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/8.322, allocations: 2.198 MB / 4.437 GB, free: 2.527 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/8.339, allocations: 7.832 MB / 4.444 GB, free: 10.61 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0037/8.343, allocations: 3.419 MB / 4.448 GB, free: 7.172 MB / 1.276 GB Notification: Performance of SimCode: time 7.02e-07/8.343, allocations: 4 kB / 4.448 GB, free: 7.168 MB / 1.276 GB Notification: Performance of Templates: time 0.6457/8.988, allocations: 120.7 MB / 4.565 GB, free: 195.2 MB / 1.276 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches