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.001447/0.001447, 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.001735/0.001735, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.574/2.574, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001977, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9597/0.9617, allocations: 140.3 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004421/0.9662, allocations: 2.93 MB / 0.9524 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.9687, allocations: 1.516 MB / 0.9539 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.969, allocations: 12.41 kB / 0.9539 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.9695, allocations: 100.9 kB / 0.954 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.9699, allocations: 141.3 kB / 0.9542 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.9708, allocations: 410.6 kB / 0.9546 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000475/0.9713, allocations: 0.5266 MB / 0.9551 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.9716, allocations: 214 kB / 0.9553 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.9719, allocations: 203 kB / 0.9555 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.9721, allocations: 191.9 kB / 0.9557 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.154e-05/0.9722, allocations: 41.06 kB / 0.9557 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.9724, allocations: 98.09 kB / 0.9558 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.9725, allocations: 112.6 kB / 0.9559 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.9727, allocations: 206.5 kB / 0.9561 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000599/0.9733, allocations: 0.5807 MB / 0.9567 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9733, allocations: 0 / 0.9567 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9733, allocations: 0 / 0.9567 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.9733, allocations: 0 / 0.9567 GB, free: 3.73 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.00121/0.9746, allocations: 0.7985 MB / 0.9574 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.9746, allocations: 16.94 kB / 0.9575 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.974e-05/0.9747, allocations: 57.41 kB / 0.9575 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.9753, allocations: 434.9 kB / 0.9579 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.9753, allocations: 21.31 kB / 0.9579 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.9754, allocations: 29.81 kB / 0.958 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.976, allocations: 324.8 kB / 0.9583 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.976, allocations: 0 / 0.9583 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.976, allocations: 10.75 kB / 0.9583 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.976, allocations: 6.875 kB / 0.9583 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.9765, allocations: 214.3 kB / 0.9585 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.9779, allocations: 1.104 MB / 0.9596 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.9785, allocations: 238.6 kB / 0.9598 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.9788, allocations: 115.2 kB / 0.9599 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.9788, allocations: 7.359 kB / 0.9599 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000435/0.9793, allocations: 151.1 kB / 0.9601 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.9793, allocations: 4 kB / 0.9601 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0008424/0.9801, allocations: 359.1 kB / 0.9604 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.9802, allocations: 105.5 kB / 0.9605 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.9807, allocations: 449.9 kB / 0.9609 GB, free: 392 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.9807, allocations: 31.77 kB / 0.961 GB, free: 356 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.9808, allocations: 236.3 kB / 0.9612 GB, free: 140 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.9809, allocations: 72.59 kB / 0.9613 GB, free: 76 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.981, allocations: 54.3 kB / 0.9613 GB, free: 36 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9811, allocations: 353 kB / 0.9617 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.9814, allocations: 86.77 kB / 0.9617 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.9816, allocations: 162.9 kB / 0.9619 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.9821, allocations: 223.9 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.9821, allocations: 1.094 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005812/0.9827, allocations: 298.3 kB / 0.9624 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9827, allocations: 5.875 kB / 0.9624 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9828, allocations: 5.531 kB / 0.9624 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9828, allocations: 2.969 kB / 0.9624 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.983, allocations: 57.86 kB / 0.9625 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.983, allocations: 2.531 kB / 0.9625 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.9832, allocations: 27.2 kB / 0.9625 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.9833, allocations: 6.406 kB / 0.9625 GB, free: 15.18 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.0002136/0.9835, allocations: 179.8 kB / 0.9627 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.9836, allocations: 47.97 kB / 0.9627 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.575e-05/0.9837, allocations: 52.78 kB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.9837, allocations: 2.625 kB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.9837, allocations: 0 / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.9837, allocations: 5.141 kB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.9842, allocations: 409.2 kB / 0.9632 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9842, allocations: 3.938 kB / 0.9632 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.9844, allocations: 39.14 kB / 0.9632 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.9844, allocations: 5.484 kB / 0.9632 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.9844, allocations: 2.438 kB / 0.9632 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.9844, allocations: 5.062 kB / 0.9632 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.9844, allocations: 0 / 0.9632 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.9853, allocations: 416.5 kB / 0.9636 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.9855, allocations: 148.9 kB / 0.9638 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.9855, allocations: 1.188 kB / 0.9638 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.9857, allocations: 18.67 kB / 0.9638 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.9858, allocations: 20.78 kB / 0.9638 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.9858, allocations: 13.16 kB / 0.9638 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000377/0.9862, allocations: 320.1 kB / 0.9641 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9862, allocations: 1.125 kB / 0.9641 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000359/0.9866, allocations: 71.66 kB / 0.9642 GB, free: 13.94 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.001046/0.9876, allocations: 438.8 kB / 0.9646 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006271/0.9882, allocations: 233 kB / 0.9648 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9883, allocations: 0 / 0.9648 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.9885, allocations: 109 kB / 0.9649 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.9891, allocations: 120.3 kB / 0.965 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.9905, allocations: 0.6915 MB / 0.9657 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.991, allocations: 0.8173 MB / 0.9665 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002143/0.9912, allocations: 50.53 kB / 0.9666 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.344e-05/0.9913, allocations: 34.33 kB / 0.9666 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9913, allocations: 0 / 0.9666 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.01288/1.004, allocations: 4.763 MB / 0.9712 GB, free: 9.945 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