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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008718/0.0008718, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008434/0.0008435, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.567/2.567, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 11.98 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8677/0.868, allocations: 142.4 MB / 0.9545 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003607/0.8717, allocations: 2.467 MB / 0.9569 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002541/0.8743, allocations: 1.387 MB / 0.9582 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.8746, allocations: 12.5 kB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.8751, allocations: 83.84 kB / 0.9583 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.8754, allocations: 107.8 kB / 0.9584 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009199/0.8763, allocations: 320.9 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004505/0.8768, allocations: 462.7 kB / 0.9592 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.877, allocations: 141 kB / 0.9593 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.8773, allocations: 150.3 kB / 0.9594 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.8774, allocations: 141.9 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.8775, allocations: 9.625 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.8777, allocations: 64.42 kB / 0.9596 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.8777, allocations: 62.98 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.8778, allocations: 98.23 kB / 0.9598 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.8782, allocations: 462.4 kB / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8783, allocations: 0 / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8783, allocations: 0 / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.8783, allocations: 1.031 kB / 0.9602 GB, free: 3.461 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.001071/0.8794, allocations: 0.718 MB / 0.9609 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.8794, allocations: 9.125 kB / 0.961 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/0.8795, allocations: 60.14 kB / 0.961 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.8801, allocations: 408.1 kB / 0.9614 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.8801, allocations: 27.62 kB / 0.9614 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.8802, allocations: 30.17 kB / 0.9615 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.8808, allocations: 325.9 kB / 0.9618 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8808, allocations: 4.969 kB / 0.9618 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.8809, allocations: 11.03 kB / 0.9618 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.8809, allocations: 14.89 kB / 0.9618 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.8814, allocations: 219.5 kB / 0.962 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.8827, allocations: 1.102 MB / 0.9631 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.8833, allocations: 244.5 kB / 0.9633 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.8836, allocations: 122.5 kB / 0.9634 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.8836, allocations: 3.719 kB / 0.9634 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.884, allocations: 161.8 kB / 0.9636 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 2.325e-06/0.884, allocations: 0 / 0.9636 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0007944/0.8848, allocations: 374 kB / 0.9639 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.8848, allocations: 105.1 kB / 0.964 GB, free: 452 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.8853, allocations: 441.8 kB / 0.9645 GB, free: 188 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.8854, allocations: 31.86 kB / 0.9645 GB, free: 152 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.8855, allocations: 236.9 kB / 0.9647 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.8856, allocations: 71.75 kB / 0.9648 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.8856, allocations: 5.375 kB / 0.9648 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8858, allocations: 356.9 kB / 0.9651 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.886, allocations: 89.36 kB / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.8863, allocations: 160.7 kB / 0.9654 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.8865, allocations: 97.59 kB / 0.9655 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8865, allocations: 4 kB / 0.9655 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005826/0.8871, allocations: 298.8 kB / 0.9658 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.8871, allocations: 6.062 kB / 0.9658 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.8871, allocations: 1.188 kB / 0.9658 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.8872, allocations: 7.062 kB / 0.9658 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.8874, allocations: 55.75 kB / 0.9658 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.8874, allocations: 10.48 kB / 0.9658 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.8876, allocations: 33.33 kB / 0.9659 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.8876, allocations: 11 kB / 0.9659 GB, free: 15.1 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.8879, allocations: 176.8 kB / 0.966 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.8879, allocations: 42.09 kB / 0.9661 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.888, allocations: 49.7 kB / 0.9661 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.888, allocations: 6.844 kB / 0.9661 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.8881, allocations: 0 / 0.9661 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.8881, allocations: 4.922 kB / 0.9661 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.8885, allocations: 405.2 kB / 0.9665 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8885, allocations: 1 kB / 0.9665 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.8887, allocations: 40.34 kB / 0.9666 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.8887, allocations: 1.031 kB / 0.9666 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.8888, allocations: 10.12 kB / 0.9666 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8888, allocations: 1.094 kB / 0.9666 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.8888, allocations: 0.7812 kB / 0.9666 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.8897, allocations: 441.7 kB / 0.967 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.8899, allocations: 144.4 kB / 0.9671 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.89, allocations: 9.906 kB / 0.9671 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.8901, allocations: 16.86 kB / 0.9672 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.8902, allocations: 16.28 kB / 0.9672 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.8902, allocations: 9.812 kB / 0.9672 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004289/0.8907, allocations: 321.2 kB / 0.9675 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8907, allocations: 0 / 0.9675 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004086/0.8911, allocations: 76.16 kB / 0.9676 GB, free: 13.87 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 (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.001127/0.8922, allocations: 443 kB / 0.968 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006009/0.8928, allocations: 223.2 kB / 0.9682 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8929, allocations: 0.7812 kB / 0.9682 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.8931, allocations: 123.1 kB / 0.9683 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.8937, allocations: 103.3 kB / 0.9684 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.8955, allocations: 0.7906 MB / 0.9692 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.896, allocations: 0.8044 MB / 0.97 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.8962, allocations: 51.78 kB / 0.97 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.8963, allocations: 37.14 kB / 0.9701 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of SimCode: time 1.182e-06/0.8964, allocations: 0 / 0.9701 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.01193/0.9083, allocations: 4.355 MB / 0.9743 GB, free: 9.973 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