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.001953/0.001952, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002376/0.002376, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.55/1.55, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.828/2.828, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001946, allocations: 63.91 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6608, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005463/0.6663, allocations: 2.916 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002948/0.6693, allocations: 1.516 MB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.6697, allocations: 11.94 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004578/0.6701, allocations: 103.2 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.6706, allocations: 135.1 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.6716, allocations: 425.1 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006021/0.6722, allocations: 0.5305 MB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.6725, allocations: 201.1 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.6728, allocations: 203.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.6731, allocations: 199 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.347e-05/0.6732, allocations: 44 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.6734, allocations: 95.95 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.6735, allocations: 99.62 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.6737, allocations: 214.7 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.6744, allocations: 0.5821 MB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6744, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6744, allocations: 3.938 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.6744, allocations: 3.938 kB / 1.024 GB, free: 11.21 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.001321/0.6758, allocations: 0.7921 MB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.6758, allocations: 12.03 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.6759, allocations: 52.28 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.6766, allocations: 430.4 kB / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.6766, allocations: 24.94 kB / 1.026 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.6767, allocations: 35.91 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.6773, allocations: 331.9 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6773, allocations: 0 / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.6774, allocations: 12 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6774, allocations: 4 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.6779, allocations: 218.1 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.6794, allocations: 1.097 MB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.6801, allocations: 240.6 kB / 1.028 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.6803, allocations: 112.8 kB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.6804, allocations: 0 / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000429/0.6808, allocations: 163.1 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.6808, allocations: 0 / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008736/0.6817, allocations: 360 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.6818, allocations: 102.8 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.6823, allocations: 457.8 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.6824, allocations: 33.7 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.6826, allocations: 232.4 kB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/0.6827, allocations: 70.98 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.6828, allocations: 53.7 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.683, allocations: 354.8 kB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.6832, allocations: 83.95 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.6835, allocations: 160.1 kB / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.684, allocations: 222.5 kB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.684, allocations: 0 / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006406/0.6846, allocations: 303 kB / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6847, allocations: 4 kB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.6847, allocations: 4 kB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6847, allocations: 4 kB / 1.03 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.685, allocations: 55.91 kB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.685, allocations: 11.97 kB / 1.03 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.6852, allocations: 19.84 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.6852, allocations: 15.92 kB / 1.03 GB, free: 4.918 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.0002161/0.6854, allocations: 187 kB / 1.03 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.6855, allocations: 43.38 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-05/0.6856, allocations: 47.84 kB / 1.03 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.6856, allocations: 0 / 1.03 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6856, allocations: 4 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6856, allocations: 3.984 kB / 1.03 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.6861, allocations: 405.3 kB / 1.031 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6861, allocations: 3.938 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.6863, allocations: 43.92 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6863, allocations: 0 / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.6863, allocations: 3.984 kB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6863, allocations: 4 kB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6863, allocations: 0 / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.6872, allocations: 420.2 kB / 1.031 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.6874, allocations: 148.4 kB / 1.031 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.6875, allocations: 8 kB / 1.031 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.6876, allocations: 15.92 kB / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.6877, allocations: 19.97 kB / 1.032 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.6877, allocations: 8 kB / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003862/0.6881, allocations: 319.1 kB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6881, allocations: 0 / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003388/0.6885, allocations: 75.84 kB / 1.032 GB, free: 3.098 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.001557/0.6901, allocations: 448 kB / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006354/0.6907, allocations: 225 kB / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6907, allocations: 0 / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.691, allocations: 121.6 kB / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.6916, allocations: 113.8 kB / 1.033 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.6929, allocations: 0.6801 MB / 1.033 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.6934, allocations: 0.8071 MB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.6936, allocations: 55.25 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.6937, allocations: 35.42 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6937, allocations: 0 / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of Templates: time 0.01103/0.7047, allocations: 4.759 MB / 1.039 GB, free: 12.08 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