Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 195.2 kB / 16.14 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.662/0.664, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005666/0.6697, allocations: 2.965 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002881/0.6726, allocations: 1.488 MB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.673, allocations: 11.94 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.6735, allocations: 91.45 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.6739, allocations: 111.4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009741/0.6749, allocations: 380.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.6755, allocations: 0.4914 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.6758, allocations: 197.1 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.6761, allocations: 167.1 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.6763, allocations: 183 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.6764, allocations: 20 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.6766, allocations: 67.91 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.6767, allocations: 79.67 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.6769, allocations: 186.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.6776, allocations: 0.5587 MB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6776, allocations: 4 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6776, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.6776, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 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.001448/0.6791, allocations: 0.7921 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6791, allocations: 8.031 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.6792, allocations: 56.28 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.6799, allocations: 442.4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.6799, allocations: 24.88 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.68, allocations: 27.94 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.6807, allocations: 335.9 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6807, allocations: 0 / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.6807, allocations: 12 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.6807, allocations: 8 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.6813, allocations: 210.1 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.6829, allocations: 1.104 MB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/0.6836, allocations: 234.9 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.6839, allocations: 113.6 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.6839, allocations: 8 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004466/0.6844, allocations: 155.1 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 2.275e-06/0.6844, allocations: 0 / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0009168/0.6853, allocations: 354.5 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.6854, allocations: 106.8 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.686, allocations: 453.8 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.686, allocations: 29.7 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.6863, allocations: 236.4 kB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.6864, allocations: 75 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-05/0.6865, allocations: 57.69 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.6867, allocations: 350.8 kB / 1.028 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.6869, allocations: 83.95 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.6872, allocations: 163.7 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.6877, allocations: 219 kB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6878, allocations: 0 / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006435/0.6884, allocations: 301.9 kB / 1.029 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.6884, allocations: 8 kB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6885, allocations: 0 / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.6885, allocations: 4 kB / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.6887, allocations: 56.06 kB / 1.029 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6888, allocations: 4 kB / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.689, allocations: 27.83 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.689, allocations: 8 kB / 1.029 GB, free: 5.461 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.6892, allocations: 178.2 kB / 1.029 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.6893, allocations: 47.38 kB / 1.029 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.6894, allocations: 47.83 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6894, allocations: 8 kB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.6894, allocations: 3.938 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6894, allocations: 0 / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.6899, allocations: 409.3 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6899, allocations: 3.938 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.6902, allocations: 35.97 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6902, allocations: 4 kB / 1.03 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.6902, allocations: 4 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.6902, allocations: 0 / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6902, allocations: 3.938 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.6911, allocations: 426.5 kB / 1.03 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.6913, allocations: 148.4 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.6914, allocations: 7.984 kB / 1.031 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.6915, allocations: 11.98 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.6916, allocations: 20.05 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.6917, allocations: 11.98 kB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003832/0.6921, allocations: 319.1 kB / 1.031 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6921, allocations: 3.938 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003393/0.6924, allocations: 79.83 kB / 1.031 GB, free: 3.625 MB / 0.7794 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/0.694, allocations: 432.9 kB / 1.031 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006001/0.6946, allocations: 221.3 kB / 1.032 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6946, allocations: 0 / 1.032 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.6949, allocations: 119.8 kB / 1.032 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.6955, allocations: 105.8 kB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.6969, allocations: 0.8176 MB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.6974, allocations: 0.8112 MB / 1.033 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.6976, allocations: 51.25 kB / 1.033 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.6977, allocations: 31.44 kB / 1.033 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6977, allocations: 0 / 1.033 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of Templates: time 0.01036/0.7081, allocations: 4.528 MB / 1.038 GB, free: 12.73 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches