Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.006768/0.006768, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001195/0.001195, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7453 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.408, allocations: 159.9 MB / 1.226 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004487/0.4126, allocations: 2.93 MB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00275/0.4154, allocations: 1.516 MB / 1.23 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.4157, allocations: 11.94 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.4161, allocations: 107.1 kB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.4165, allocations: 139.1 kB / 1.23 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.4175, allocations: 417.5 kB / 1.231 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000509/0.418, allocations: 0.5344 MB / 1.231 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.4184, allocations: 205.1 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.4186, allocations: 203.1 kB / 1.232 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.4189, allocations: 199 kB / 1.232 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.4189, allocations: 40 kB / 1.232 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.4191, allocations: 107.9 kB / 1.232 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.4193, allocations: 103.6 kB / 1.232 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.4195, allocations: 210.8 kB / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.4201, allocations: 0.603 MB / 1.233 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4202, allocations: 0 / 1.233 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.025e-06/0.4202, allocations: 0 / 1.233 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4202, allocations: 7.938 kB / 1.233 GB, free: 1.812 MB / 0.9825 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.001166/0.4214, allocations: 0.8012 MB / 1.234 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4214, allocations: 8.031 kB / 1.234 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.4215, allocations: 56.61 kB / 1.234 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.4222, allocations: 454.7 kB / 1.234 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.4222, allocations: 24.94 kB / 1.234 GB, free: 396 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.4223, allocations: 27.94 kB / 1.234 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.4228, allocations: 327.9 kB / 1.234 GB, free: 12 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4229, allocations: 4 kB / 1.234 GB, free: 8 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.4229, allocations: 8 kB / 1.234 GB, free: 0 / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.4229, allocations: 8.047 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.4234, allocations: 210 kB / 1.235 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.4247, allocations: 1.101 MB / 1.236 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.4252, allocations: 230.9 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.4255, allocations: 116.8 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.4255, allocations: 4 kB / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.4259, allocations: 161.5 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.764e-06/0.4259, allocations: 0 / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0007843/0.4267, allocations: 349.1 kB / 1.237 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.4267, allocations: 106.8 kB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.4272, allocations: 453.8 kB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.4273, allocations: 33.7 kB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.4275, allocations: 236.6 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.4276, allocations: 75.38 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.4277, allocations: 61.64 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4279, allocations: 346.8 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.4281, allocations: 91.89 kB / 1.238 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.4283, allocations: 168.1 kB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.4288, allocations: 219.3 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4288, allocations: 0 / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005532/0.4293, allocations: 308.4 kB / 1.239 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4294, allocations: 12.03 kB / 1.239 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4294, allocations: 0 / 1.239 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4294, allocations: 4 kB / 1.239 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.4296, allocations: 47.91 kB / 1.239 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4297, allocations: 4 kB / 1.239 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.4298, allocations: 31.81 kB / 1.239 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.4299, allocations: 12 kB / 1.239 GB, free: 11.47 MB / 0.9981 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.0001794/0.4301, allocations: 182.3 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.4301, allocations: 47.66 kB / 1.239 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.137e-05/0.4302, allocations: 43.83 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4302, allocations: 4 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4302, allocations: 0 / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4303, allocations: 0 / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.4306, allocations: 413.3 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4306, allocations: 3.938 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.4308, allocations: 39.91 kB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4309, allocations: 0 / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.4309, allocations: 12 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4309, allocations: 0 / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4309, allocations: 0 / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/0.4317, allocations: 424.6 kB / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.4318, allocations: 140.8 kB / 1.24 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.4319, allocations: 15.98 kB / 1.24 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.432, allocations: 12 kB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.4321, allocations: 19.97 kB / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.4322, allocations: 11.92 kB / 1.24 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003093/0.4325, allocations: 319.1 kB / 1.24 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4325, allocations: 0 / 1.24 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000331/0.4328, allocations: 79.78 kB / 1.24 GB, free: 9.652 MB / 0.9981 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.001065/0.4339, allocations: 426.8 kB / 1.241 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005436/0.4344, allocations: 229.9 kB / 1.241 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4345, allocations: 0 / 1.241 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.4347, allocations: 107.9 kB / 1.241 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.4352, allocations: 116.4 kB / 1.241 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.4363, allocations: 0.6953 MB / 1.242 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4367, allocations: 0.811 MB / 1.243 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.4369, allocations: 55.23 kB / 1.243 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.437, allocations: 35.42 kB / 1.243 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.437, allocations: 0 / 1.243 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of Templates: time 0.008924/0.4459, allocations: 4.801 MB / 1.247 GB, free: 2.586 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches