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.001378/0.001378, 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.003257/0.003257, allocations: 194.5 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.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.7 MB / 0.7452 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 60.95 kB / 0.9121 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3996, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004746/0.4044, allocations: 2.932 MB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00272/0.4072, allocations: 1.512 MB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.4075, allocations: 11.94 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.408, allocations: 103.2 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.4084, allocations: 147 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.4094, allocations: 417.9 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000506/0.4099, allocations: 0.5266 MB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.4103, allocations: 205.1 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.4106, allocations: 203.1 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.4108, allocations: 195 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.4109, allocations: 40 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.4111, allocations: 99.97 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.4112, allocations: 107.7 kB / 1.075 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.4114, allocations: 206.7 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007079/0.4121, allocations: 0.5882 MB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4122, allocations: 0 / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4122, allocations: 0 / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.4122, allocations: 0 / 1.075 GB, free: 3.074 MB / 0.8262 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.001303/0.4135, allocations: 0.7959 MB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4136, allocations: 8.031 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.4137, allocations: 52.38 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.4143, allocations: 430.4 kB / 1.077 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.4143, allocations: 24.92 kB / 1.077 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.4144, allocations: 27.94 kB / 1.077 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.415, allocations: 331.9 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.415, allocations: 0 / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.415, allocations: 15.98 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4151, allocations: 4 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.4155, allocations: 218.1 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.4169, allocations: 1.104 MB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.4175, allocations: 243.5 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.4177, allocations: 108.8 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.4178, allocations: 7.922 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004153/0.4182, allocations: 157.5 kB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 3.637e-06/0.4182, allocations: 0 / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0008342/0.419, allocations: 352.8 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.4191, allocations: 106.8 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.4196, allocations: 453.9 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.4196, allocations: 33.7 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.4198, allocations: 232.5 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.4199, allocations: 71 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.42, allocations: 53.61 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4202, allocations: 358.8 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.4204, allocations: 83.95 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.4206, allocations: 156.6 kB / 1.081 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.4211, allocations: 223.5 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4211, allocations: 4 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005548/0.4216, allocations: 299.1 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4217, allocations: 5.719 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4217, allocations: 4 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4217, allocations: 0 / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.4219, allocations: 59.89 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.422, allocations: 0 / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.4221, allocations: 39.67 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.4222, allocations: 8 kB / 1.081 GB, free: 12.77 MB / 0.8419 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.0001861/0.4224, allocations: 179.6 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.4224, allocations: 43.47 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.239e-05/0.4225, allocations: 47.84 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4225, allocations: 0 / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.4226, allocations: 4 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4226, allocations: 3.984 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.4229, allocations: 413.2 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.423, allocations: 3.938 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.4232, allocations: 43.92 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4232, allocations: 3.984 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.4232, allocations: 4 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4232, allocations: 7.938 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4232, allocations: 0 / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007993/0.424, allocations: 418.9 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.4242, allocations: 144.5 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.4242, allocations: 8 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.4244, allocations: 7.984 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.4245, allocations: 23.91 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.4245, allocations: 15.94 kB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003189/0.4248, allocations: 319.1 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4249, allocations: 0 / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000325/0.4252, allocations: 75.84 kB / 1.083 GB, free: 10.95 MB / 0.8419 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.001027/0.4262, allocations: 426.8 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005671/0.4268, allocations: 231.6 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4268, allocations: 0 / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.4271, allocations: 116.1 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.4276, allocations: 117.8 kB / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.4289, allocations: 0.6896 MB / 1.084 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4292, allocations: 0.8109 MB / 1.085 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.4294, allocations: 59.23 kB / 1.085 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.66e-05/0.4295, allocations: 35.42 kB / 1.085 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.4295, allocations: 0 / 1.085 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.009525/0.439, allocations: 4.762 MB / 1.09 GB, free: 3.922 MB / 0.8419 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