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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001106, 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.001153/0.001153, allocations: 194.5 kB / 16.14 MB, free: 6.691 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6429, allocations: 140.4 MB / 0.9489 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003552/0.6465, allocations: 2.962 MB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.6487, allocations: 1.48 MB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.649, allocations: 11.44 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.6494, allocations: 89.73 kB / 0.9534 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.6497, allocations: 109 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.6507, allocations: 374 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.6511, allocations: 493.6 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.6514, allocations: 205.1 kB / 0.9545 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.6516, allocations: 173.2 kB / 0.9547 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.6519, allocations: 179 kB / 0.9548 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.6519, allocations: 16.69 kB / 0.9548 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.6521, allocations: 76.8 kB / 0.9549 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.6522, allocations: 84.75 kB / 0.955 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.6524, allocations: 187.8 kB / 0.9552 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.6529, allocations: 0.5584 MB / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6529, allocations: 4 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6529, allocations: 0 / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.6529, allocations: 0 / 0.9557 GB, free: 3.934 MB / 0.7169 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.001171/0.6541, allocations: 0.7961 MB / 0.9565 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.6541, allocations: 7.594 kB / 0.9565 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.6542, allocations: 56.59 kB / 0.9566 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.6548, allocations: 436.2 kB / 0.957 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.6548, allocations: 19.72 kB / 0.957 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.6548, allocations: 34.22 kB / 0.957 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.6554, allocations: 331.8 kB / 0.9573 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.6554, allocations: 1.094 kB / 0.9573 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.6554, allocations: 10.97 kB / 0.9574 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.6555, allocations: 6.812 kB / 0.9574 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.656, allocations: 210 kB / 0.9576 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.6572, allocations: 1.104 MB / 0.9586 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.6578, allocations: 241.4 kB / 0.9589 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.658, allocations: 111.8 kB / 0.959 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.658, allocations: 6.734 kB / 0.959 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004052/0.6585, allocations: 159.5 kB / 0.9591 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.6585, allocations: 0 / 0.9591 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.000843/0.6593, allocations: 363.4 kB / 0.9595 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.6594, allocations: 105 kB / 0.9596 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.6599, allocations: 449.8 kB / 0.96 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.6599, allocations: 35.38 kB / 0.96 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.6601, allocations: 233.4 kB / 0.9603 GB, free: 344 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.6601, allocations: 67.64 kB / 0.9603 GB, free: 284 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/0.6602, allocations: 58.75 kB / 0.9604 GB, free: 240 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6604, allocations: 352.8 kB / 0.9607 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.6606, allocations: 83.23 kB / 0.9608 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.6609, allocations: 157.3 kB / 0.961 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.6614, allocations: 221.1 kB / 0.9612 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6614, allocations: 0 / 0.9612 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00065/0.6621, allocations: 303 kB / 0.9615 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6621, allocations: 5.469 kB / 0.9615 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6621, allocations: 0.9688 kB / 0.9615 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.6622, allocations: 7.25 kB / 0.9615 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.6624, allocations: 57.75 kB / 0.9615 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.6624, allocations: 3.656 kB / 0.9615 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.6626, allocations: 26.17 kB / 0.9616 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.6627, allocations: 8.25 kB / 0.9616 GB, free: 15.38 MB / 0.7325 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.0001982/0.6629, allocations: 182.5 kB / 0.9617 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.6629, allocations: 46.97 kB / 0.9618 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.663, allocations: 53.98 kB / 0.9618 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.663, allocations: 2.469 kB / 0.9618 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.6631, allocations: 0 / 0.9618 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6631, allocations: 0 / 0.9618 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.6635, allocations: 414.8 kB / 0.9622 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6635, allocations: 3.938 kB / 0.9622 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.6637, allocations: 34.56 kB / 0.9623 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6637, allocations: 1.375 kB / 0.9623 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.6638, allocations: 5.562 kB / 0.9623 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6638, allocations: 1.188 kB / 0.9623 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6638, allocations: 5 kB / 0.9623 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/0.6646, allocations: 416.6 kB / 0.9627 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.6648, allocations: 147.7 kB / 0.9628 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.6649, allocations: 10.61 kB / 0.9628 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.665, allocations: 18.33 kB / 0.9628 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.6651, allocations: 17.2 kB / 0.9629 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.6652, allocations: 13.36 kB / 0.9629 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003904/0.6656, allocations: 316.5 kB / 0.9632 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6656, allocations: 0 / 0.9632 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003891/0.666, allocations: 75.58 kB / 0.9632 GB, free: 14.14 MB / 0.7325 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.001139/0.6671, allocations: 437.7 kB / 0.9637 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005969/0.6677, allocations: 218.5 kB / 0.9639 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6677, allocations: 0 / 0.9639 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.668, allocations: 121.5 kB / 0.964 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005985/0.6686, allocations: 107 kB / 0.9641 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.6701, allocations: 0.8128 MB / 0.9649 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.6706, allocations: 0.8159 MB / 0.9657 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.6709, allocations: 48.05 kB / 0.9657 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.671, allocations: 29.09 kB / 0.9658 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.064e-06/0.671, allocations: 0 / 0.9658 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.009806/0.6808, allocations: 4.531 MB / 0.9702 GB, free: 10.16 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches