Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.29/2.29, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001225/0.001225, allocations: 176.4 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.001002/0.001002, allocations: 91.95 kB / 0.9318 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.984e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2945, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9606/1.255, allocations: 160.4 MB / 1.375 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.256, allocations: 100.8 kB / 1.375 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03758/1.293, allocations: 14.19 MB / 1.389 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.903e-06/1.293, allocations: 0 / 1.389 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.456e-05/1.293, allocations: 16 kB / 1.389 GB, free: 13.72 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001421/1.295, allocations: 0.8461 MB / 1.39 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.295, allocations: 8.031 kB / 1.39 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/1.295, allocations: 71.16 kB / 1.39 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/1.296, allocations: 461.5 kB / 1.391 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/1.296, allocations: 53.8 kB / 1.391 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/1.296, allocations: 49.69 kB / 1.391 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/1.297, allocations: 0.5397 MB / 1.391 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.297, allocations: 0 / 1.391 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/1.297, allocations: 28.98 kB / 1.391 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/1.297, allocations: 12 kB / 1.391 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/1.298, allocations: 417.2 kB / 1.392 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/1.3, allocations: 1.55 MB / 1.393 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/1.301, allocations: 461.8 kB / 1.394 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/1.301, allocations: 216.6 kB / 1.394 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/1.301, allocations: 13.45 kB / 1.394 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004756/1.302, allocations: 296.1 kB / 1.394 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=63): time 2.715e-06/1.302, allocations: 0 / 1.394 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of matching and sorting (n=63): time 0.0008106/1.302, allocations: 457.5 kB / 1.395 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/1.302, allocations: 114.3 kB / 1.395 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/1.303, allocations: 464.3 kB / 1.395 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/1.303, allocations: 51.95 kB / 1.395 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/1.303, allocations: 255.1 kB / 1.396 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/1.303, allocations: 149.4 kB / 1.396 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/1.303, allocations: 14.94 kB / 1.396 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.304, allocations: 374.8 kB / 1.396 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/1.304, allocations: 179.5 kB / 1.396 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/1.304, allocations: 302 kB / 1.396 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/1.305, allocations: 207.5 kB / 1.397 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.305, allocations: 0 / 1.397 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009259/1.306, allocations: 0.5807 MB / 1.397 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/1.306, allocations: 37.66 kB / 1.397 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.306, allocations: 4.25 kB / 1.397 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.306, allocations: 8 kB / 1.397 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/1.306, allocations: 85.69 kB / 1.397 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.306, allocations: 4 kB / 1.397 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/1.307, allocations: 81.77 kB / 1.397 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/1.307, allocations: 29.73 kB / 1.397 GB, free: 7.035 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001821/1.307, allocations: 174.1 kB / 1.398 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/1.307, allocations: 47.44 kB / 1.398 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009141/1.308, allocations: 0.5539 MB / 1.398 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.308, allocations: 8 kB / 1.398 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.308, allocations: 0 / 1.398 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.308, allocations: 3.984 kB / 1.398 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/1.31, allocations: 1.333 MB / 1.4 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.31, allocations: 7.938 kB / 1.4 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/1.31, allocations: 59.64 kB / 1.4 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.31, allocations: 4 kB / 1.4 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/1.31, allocations: 10.81 kB / 1.4 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.31, allocations: 7.984 kB / 1.4 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.31, allocations: 4 kB / 1.4 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/1.311, allocations: 0.5928 MB / 1.4 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/1.311, allocations: 139 kB / 1.4 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/1.311, allocations: 18.55 kB / 1.4 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/1.312, allocations: 62.5 kB / 1.4 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/1.312, allocations: 89.48 kB / 1.401 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/1.312, allocations: 23.38 kB / 1.401 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003575/1.312, allocations: 326.2 kB / 1.401 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.5e-07/1.312, allocations: 0 / 1.401 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005615/1.313, allocations: 156.2 kB / 1.401 GB, free: 4.113 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001553/1.314, allocations: 0.6587 MB / 1.402 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009368/1.315, allocations: 0.5452 MB / 1.402 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.315, allocations: 0 / 1.402 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/1.316, allocations: 268.4 kB / 1.402 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/1.316, allocations: 77.56 kB / 1.403 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/1.317, allocations: 0.7752 MB / 1.403 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/1.318, allocations: 0.9014 MB / 1.404 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003155/1.318, allocations: 100.5 kB / 1.404 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/1.318, allocations: 54.92 kB / 1.404 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/1.318, allocations: 4 kB / 1.404 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of Templates: time 0.01318/1.332, allocations: 7.272 MB / 1.411 GB, free: 10.12 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches