Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.00115/0.00115, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.659/1.659, allocations: 221.5 MB / 0.7824 GB, free: 1.055 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.0009245/0.0009246, allocations: 99.02 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.377e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.315, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.322, allocations: 159.3 MB / 1.361 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.322, allocations: 91.58 kB / 1.362 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02632/1.349, allocations: 10.47 MB / 1.372 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.349, allocations: 0 / 1.372 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.695e-05/1.349, allocations: 15.44 kB / 1.372 GB, free: 33.45 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001249/1.35, allocations: 0.6819 MB / 1.372 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/1.35, allocations: 7.75 kB / 1.372 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/1.35, allocations: 62.58 kB / 1.373 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007989/1.351, allocations: 431.7 kB / 1.373 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/1.351, allocations: 11.38 kB / 1.373 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/1.351, allocations: 15.44 kB / 1.373 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004001/1.352, allocations: 176.4 kB / 1.373 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/1.352, allocations: 292 kB / 1.373 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.352, allocations: 0 / 1.373 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/1.352, allocations: 0 / 1.373 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.352, allocations: 11.7 kB / 1.373 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/1.354, allocations: 1.105 MB / 1.375 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/1.354, allocations: 215.5 kB / 1.375 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/1.354, allocations: 97.56 kB / 1.375 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/1.354, allocations: 4.031 kB / 1.375 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/1.355, allocations: 145.1 kB / 1.375 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/1.355, allocations: 0 / 1.375 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004391/1.355, allocations: 230.9 kB / 1.375 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/1.355, allocations: 161.2 kB / 1.375 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/1.356, allocations: 368.9 kB / 1.376 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/1.356, allocations: 28.09 kB / 1.376 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/1.356, allocations: 221.5 kB / 1.376 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/1.356, allocations: 75.42 kB / 1.376 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/1.356, allocations: 0 / 1.376 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.356, allocations: 351.3 kB / 1.376 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/1.356, allocations: 73.06 kB / 1.376 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/1.356, allocations: 167.3 kB / 1.377 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/1.357, allocations: 74.72 kB / 1.377 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.357, allocations: 0 / 1.377 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003747/1.357, allocations: 258.8 kB / 1.377 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.357, allocations: 9.562 kB / 1.377 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.357, allocations: 0 / 1.377 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.357, allocations: 3.875 kB / 1.377 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/1.357, allocations: 59.62 kB / 1.377 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.357, allocations: 11.8 kB / 1.377 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/1.358, allocations: 38.77 kB / 1.377 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/1.358, allocations: 7.781 kB / 1.377 GB, free: 30.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0001276/1.358, allocations: 120.3 kB / 1.377 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/1.358, allocations: 42.02 kB / 1.377 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/1.358, allocations: 257.1 kB / 1.377 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.358, allocations: 3.906 kB / 1.377 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/1.358, allocations: 0 / 1.377 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.358, allocations: 7.141 kB / 1.377 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/1.359, allocations: 393.9 kB / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.359, allocations: 0 / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.359, allocations: 41.94 kB / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.453e-06/1.359, allocations: 5.891 kB / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/1.359, allocations: 3.984 kB / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.359, allocations: 3.906 kB / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.359, allocations: 0 / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/1.359, allocations: 397 kB / 1.378 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.36, allocations: 152.4 kB / 1.378 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/1.36, allocations: 0 / 1.378 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/1.36, allocations: 21.2 kB / 1.378 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/1.36, allocations: 19.09 kB / 1.378 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/1.36, allocations: 15.16 kB / 1.378 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002859/1.36, allocations: 281.3 kB / 1.379 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.36, allocations: 0 / 1.379 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004108/1.361, allocations: 94.45 kB / 1.379 GB, free: 30.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008901/1.362, allocations: 372.3 kB / 1.379 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003632/1.362, allocations: 208.9 kB / 1.379 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.362, allocations: 0 / 1.379 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/1.362, allocations: 105.1 kB / 1.379 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/1.363, allocations: 88.52 kB / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/1.364, allocations: 498.4 kB / 1.38 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/1.364, allocations: 0.8161 MB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002209/1.364, allocations: 53.41 kB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/1.364, allocations: 33.16 kB / 1.381 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.364, allocations: 0 / 1.381 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of Templates: time 0.009031/1.373, allocations: 4.459 MB / 1.385 GB, free: 26.89 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches