Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001441/0.001441, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001699/0.001699, allocations: 199.2 kB / 16.26 MB, free: 6.629 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.916/2.916, allocations: 469.8 MB / 0.742 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 64.72 kB / 0.908 GB, free: 34.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.345, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005051/0.3501, allocations: 2.962 MB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.3528, allocations: 1.477 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.3531, allocations: 15.88 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.3536, allocations: 83.47 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.354, allocations: 123.4 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009182/0.3549, allocations: 369.9 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.3555, allocations: 0.5305 MB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.3558, allocations: 205.1 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.3562, allocations: 207 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.3564, allocations: 199 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.3565, allocations: 48 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.3567, allocations: 91.97 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.3568, allocations: 107.6 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.357, allocations: 210.8 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.3577, allocations: 0.5804 MB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3577, allocations: 0 / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3577, allocations: 0 / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.3577, allocations: 0 / 1.07 GB, free: 7.422 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.001322/0.3591, allocations: 0.7999 MB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3591, allocations: 8.031 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3592, allocations: 48.38 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.3599, allocations: 438.4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.3599, allocations: 20.94 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.36, allocations: 27.94 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.3606, allocations: 323.9 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3606, allocations: 0 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.3607, allocations: 12 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3607, allocations: 8 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.3612, allocations: 218.1 kB / 1.072 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.3627, allocations: 1.104 MB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.3634, allocations: 248.7 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.3637, allocations: 112.8 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.3637, allocations: 4 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004665/0.3642, allocations: 155.3 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 3.656e-06/0.3642, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008874/0.3651, allocations: 351.7 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.3652, allocations: 106.8 kB / 1.074 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.3657, allocations: 453.9 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.3658, allocations: 29.7 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.366, allocations: 228.5 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.3661, allocations: 74.98 kB / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.843e-05/0.3662, allocations: 53.7 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3664, allocations: 354.8 kB / 1.075 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.3666, allocations: 87.89 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.3669, allocations: 159.6 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.3674, allocations: 223.3 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3674, allocations: 0 / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006537/0.3681, allocations: 300.8 kB / 1.076 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3681, allocations: 8 kB / 1.076 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3681, allocations: 48 / 1.076 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3681, allocations: 7.984 kB / 1.076 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.3684, allocations: 55.89 kB / 1.076 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3684, allocations: 4 kB / 1.076 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.3686, allocations: 35.67 kB / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.3686, allocations: 8 kB / 1.076 GB, free: 1.121 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 ($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.0002086/0.3689, allocations: 178.8 kB / 1.076 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.3689, allocations: 43.47 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.369, allocations: 43.84 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.369, allocations: 4 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3691, allocations: 3.938 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3691, allocations: 3.984 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.3695, allocations: 409.2 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.3695, allocations: 7.938 kB / 1.077 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.3698, allocations: 43.91 kB / 1.077 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3698, allocations: 4 kB / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3698, allocations: 0 / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3698, allocations: 0 / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3698, allocations: 0 / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000909/0.3707, allocations: 426.2 kB / 1.077 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.3709, allocations: 140.5 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.3709, allocations: 8 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3711, allocations: 15.98 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.3712, allocations: 23.91 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.3712, allocations: 8 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003748/0.3716, allocations: 319.1 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3716, allocations: 0 / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003489/0.372, allocations: 79.84 kB / 1.078 GB, free: 15.3 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.001575/0.3736, allocations: 432.3 kB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.3742, allocations: 228.4 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3742, allocations: 0 / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.3745, allocations: 122.6 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.3751, allocations: 109.8 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3764, allocations: 0.815 MB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.3769, allocations: 0.811 MB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.3771, allocations: 55.25 kB / 1.08 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.3772, allocations: 35.42 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3772, allocations: 0 / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.01027/0.3875, allocations: 4.687 MB / 1.085 GB, free: 8.227 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches