Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.411/2.411, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001099/0.001099, allocations: 184.8 kB / 496.1 MB, free: 12.86 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.585/1.585, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0009952/0.0009954, allocations: 95.73 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.196e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2861, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9706/1.257, allocations: 154 MB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.257, allocations: 91.94 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01876/1.276, allocations: 7.45 MB / 1.377 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.276, allocations: 0 / 1.377 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.601e-05/1.276, allocations: 11.94 kB / 1.377 GB, free: 9.641 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001023/1.277, allocations: 0.6449 MB / 1.377 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.277, allocations: 8.031 kB / 1.377 GB, free: 8.965 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/1.277, allocations: 51.44 kB / 1.377 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/1.278, allocations: 327.5 kB / 1.378 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/1.278, allocations: 41.75 kB / 1.378 GB, free: 8.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/1.278, allocations: 53.95 kB / 1.378 GB, free: 8.551 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/1.279, allocations: 0.4948 MB / 1.378 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.279, allocations: 4 kB / 1.378 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/1.279, allocations: 23.5 kB / 1.378 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/1.279, allocations: 21 kB / 1.378 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/1.279, allocations: 400.1 kB / 1.379 GB, free: 7.926 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/1.282, allocations: 1.389 MB / 1.38 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/1.282, allocations: 391.5 kB / 1.38 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/1.282, allocations: 181.4 kB / 1.38 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/1.283, allocations: 9.094 kB / 1.38 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/1.283, allocations: 254.6 kB / 1.381 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=52): time 2.745e-06/1.283, allocations: 0 / 1.381 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.0006533/1.284, allocations: 367.7 kB / 1.381 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.284, allocations: 63.72 kB / 1.381 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/1.284, allocations: 243 kB / 1.381 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/1.284, allocations: 54.38 kB / 1.381 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1.284, allocations: 197.7 kB / 1.382 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/1.284, allocations: 126.1 kB / 1.382 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/1.284, allocations: 13.75 kB / 1.382 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.284, allocations: 347.5 kB / 1.382 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/1.285, allocations: 164 kB / 1.382 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/1.285, allocations: 252.4 kB / 1.382 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/1.285, allocations: 193.4 kB / 1.383 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.285, allocations: 0 / 1.383 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008056/1.286, allocations: 0.5382 MB / 1.383 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/1.286, allocations: 33.7 kB / 1.383 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.286, allocations: 0 / 1.383 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.286, allocations: 4 kB / 1.383 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/1.287, allocations: 71.58 kB / 1.383 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/1.287, allocations: 4 kB / 1.383 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/1.287, allocations: 94.78 kB / 1.383 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/1.287, allocations: 19.38 kB / 1.383 GB, free: 3.992 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001925/1.287, allocations: 181.3 kB / 1.384 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/1.287, allocations: 35.58 kB / 1.384 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/1.288, allocations: 450 kB / 1.384 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.288, allocations: 4 kB / 1.384 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.288, allocations: 0 / 1.384 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/1.288, allocations: 3.984 kB / 1.384 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/1.29, allocations: 1.085 MB / 1.385 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.29, allocations: 0 / 1.385 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/1.29, allocations: 50.91 kB / 1.385 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/1.29, allocations: 4 kB / 1.385 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/1.29, allocations: 10.38 kB / 1.385 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.29, allocations: 4 kB / 1.385 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.29, allocations: 3.984 kB / 1.385 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/1.291, allocations: 0.4951 MB / 1.386 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/1.291, allocations: 108.6 kB / 1.386 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/1.291, allocations: 15.11 kB / 1.386 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/1.291, allocations: 54.95 kB / 1.386 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.291, allocations: 70.14 kB / 1.386 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/1.291, allocations: 19.94 kB / 1.386 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001627/1.292, allocations: 165.1 kB / 1.386 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.41e-07/1.292, allocations: 0 / 1.386 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004309/1.292, allocations: 105.8 kB / 1.386 GB, free: 1.637 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002472/1.292, allocations: 144.6 kB / 1.386 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007962/1.293, allocations: 494.4 kB / 1.387 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.293, allocations: 0 / 1.387 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/1.293, allocations: 225.1 kB / 1.387 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/1.294, allocations: 51.38 kB / 1.387 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.295, allocations: 0.5192 MB / 1.388 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/1.295, allocations: 0.828 MB / 1.388 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002145/1.296, allocations: 59.38 kB / 1.388 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/1.296, allocations: 42.98 kB / 1.388 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/1.296, allocations: 0 / 1.388 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.009906/1.306, allocations: 4.368 MB / 1.393 GB, free: 11.25 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches