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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001418/0.001418, allocations: 91.84 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.001926/0.001927, 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.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 16.17 kB / 0.9021 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3886, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005651/0.3943, allocations: 2.471 MB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.3984, allocations: 1.396 MB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006121/0.399, allocations: 15.88 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.3997, allocations: 83.47 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006694/0.4004, allocations: 103.4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.4019, allocations: 316 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008691/0.4028, allocations: 467.3 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.4033, allocations: 144.3 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/0.4037, allocations: 143.2 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.404, allocations: 147.1 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.4041, allocations: 12 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.4044, allocations: 59.95 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.4046, allocations: 63.75 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.4047, allocations: 93.45 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000749/0.4055, allocations: 451.1 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4055, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4055, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.4056, allocations: 0 / 1.064 GB, free: 15.39 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.00185/0.4074, allocations: 0.7258 MB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.4075, allocations: 12.02 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.4077, allocations: 55.34 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.4087, allocations: 417.5 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/0.4088, allocations: 24.52 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-05/0.4089, allocations: 24 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.4101, allocations: 335.9 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4101, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.4102, allocations: 8 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.4102, allocations: 8 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009958/0.4112, allocations: 226.1 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.4138, allocations: 1.097 MB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.4149, allocations: 243.5 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.4154, allocations: 113.2 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.4155, allocations: 8.188 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006961/0.4162, allocations: 155.4 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 3.246e-06/0.4162, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001667/0.4179, allocations: 369.1 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/0.418, allocations: 102.8 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.419, allocations: 445.9 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.4191, allocations: 33.7 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.4194, allocations: 236.4 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.4196, allocations: 74.98 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.4196, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4198, allocations: 350.8 kB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.4203, allocations: 83.95 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.4208, allocations: 167.6 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.4213, allocations: 103.8 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4213, allocations: 3.953 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001151/0.4225, allocations: 305 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.4225, allocations: 10.33 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4225, allocations: 4 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4226, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.4231, allocations: 51.91 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4231, allocations: 4 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.4235, allocations: 31.77 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.4236, allocations: 16.12 kB / 1.069 GB, free: 9.332 MB / 0.8262 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.0003597/0.4239, allocations: 181.8 kB / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.4241, allocations: 47.39 kB / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.4242, allocations: 43.83 kB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.4243, allocations: 4 kB / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.4243, allocations: 0 / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4243, allocations: 0 / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.425, allocations: 421.1 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.425, allocations: 4 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.4255, allocations: 43.86 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.4255, allocations: 4 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.4255, allocations: 4 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4255, allocations: 0 / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4256, allocations: 4 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.4271, allocations: 424 kB / 1.071 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.4274, allocations: 148.5 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/0.4275, allocations: 11.95 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.4278, allocations: 20.05 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.428, allocations: 19.97 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.428, allocations: 11.94 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00063/0.4287, allocations: 315.1 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4287, allocations: 0 / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000657/0.4294, allocations: 75.84 kB / 1.071 GB, free: 7.496 MB / 0.8262 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.001718/0.4311, allocations: 430.3 kB / 1.072 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.4321, allocations: 231.6 kB / 1.072 GB, free: 7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4321, allocations: 0 / 1.072 GB, free: 7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.4326, allocations: 119 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.4336, allocations: 96.33 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.4357, allocations: 0.7856 MB / 1.073 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.4363, allocations: 0.8073 MB / 1.074 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003771/0.4367, allocations: 59.19 kB / 1.074 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.4369, allocations: 35.42 kB / 1.074 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.4369, allocations: 0 / 1.074 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of Templates: time 0.01694/0.4538, allocations: 4.359 MB / 1.078 GB, free: 0.7812 MB / 0.8262 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