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.001043/0.001043, allocations: 92.16 kB / 16.02 MB, free: 80 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.001459/0.001459, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.75/2.75, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 9 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3006, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003499/0.3042, allocations: 2.574 MB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.3069, allocations: 1.461 MB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.3074, allocations: 11.94 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004384/0.3078, allocations: 87.45 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.3083, allocations: 115.4 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3093, allocations: 377.8 kB / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.31, allocations: 495.2 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.3103, allocations: 197.1 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.3106, allocations: 151 kB / 1.065 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.3109, allocations: 163 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.311, allocations: 8 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.3111, allocations: 51.98 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3113, allocations: 75.61 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.3114, allocations: 188.5 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.3119, allocations: 455.1 kB / 1.066 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3119, allocations: 3.938 kB / 1.066 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3119, allocations: 0 / 1.066 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.312, allocations: 0 / 1.066 GB, free: 14.58 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.001238/0.3132, allocations: 0.7144 MB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3133, allocations: 15.97 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.3134, allocations: 56.28 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.314, allocations: 430.4 kB / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.3141, allocations: 24.94 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.3141, allocations: 31.94 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/0.3148, allocations: 331.9 kB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3148, allocations: 0 / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.3148, allocations: 12 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3148, allocations: 4 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.3154, allocations: 226.1 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3168, allocations: 1.104 MB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.3174, allocations: 242.9 kB / 1.069 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.3177, allocations: 124.8 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3177, allocations: 0 / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.3181, allocations: 167.1 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.784e-06/0.3181, allocations: 0 / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008568/0.319, allocations: 369.1 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.3191, allocations: 106.8 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.3196, allocations: 449.9 kB / 1.07 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3196, allocations: 29.7 kB / 1.07 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.3198, allocations: 236.4 kB / 1.07 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.3199, allocations: 74.98 kB / 1.07 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.3199, allocations: 29.7 kB / 1.07 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3201, allocations: 354.8 kB / 1.07 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.3203, allocations: 83.95 kB / 1.071 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.3206, allocations: 167.6 kB / 1.071 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.3211, allocations: 224.9 kB / 1.071 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3211, allocations: 0 / 1.071 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006196/0.3217, allocations: 317.7 kB / 1.071 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3217, allocations: 8 kB / 1.071 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3217, allocations: 0 / 1.071 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3218, allocations: 4 kB / 1.071 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.322, allocations: 56.06 kB / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.322, allocations: 0 / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3222, allocations: 35.77 kB / 1.071 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.3223, allocations: 12 kB / 1.071 GB, free: 8.297 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.0001962/0.3225, allocations: 173.8 kB / 1.072 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.3225, allocations: 47.38 kB / 1.072 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.61e-05/0.3226, allocations: 47.83 kB / 1.072 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3227, allocations: 4 kB / 1.072 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3227, allocations: 0 / 1.072 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3227, allocations: 0 / 1.072 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.3231, allocations: 413.2 kB / 1.072 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3231, allocations: 3.938 kB / 1.072 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.3233, allocations: 43.91 kB / 1.072 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3233, allocations: 0 / 1.072 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.3233, allocations: 4 kB / 1.072 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3233, allocations: 8 kB / 1.072 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3234, allocations: 0 / 1.072 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008533/0.3242, allocations: 431 kB / 1.072 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.3244, allocations: 156.4 kB / 1.073 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.3244, allocations: 8 kB / 1.073 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.3246, allocations: 19.92 kB / 1.073 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.3247, allocations: 19.97 kB / 1.073 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3247, allocations: 4 kB / 1.073 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003405/0.3251, allocations: 323.1 kB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3251, allocations: 4.062 kB / 1.073 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004159/0.3255, allocations: 79.78 kB / 1.073 GB, free: 6.453 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 (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.001222/0.3267, allocations: 414.8 kB / 1.073 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.3273, allocations: 234.7 kB / 1.074 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3273, allocations: 0 / 1.074 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.3276, allocations: 115.9 kB / 1.074 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.3282, allocations: 114.4 kB / 1.074 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3295, allocations: 0.8695 MB / 1.075 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3299, allocations: 0.8112 MB / 1.076 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.33, allocations: 35.42 kB / 1.076 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.33, allocations: 0 / 1.076 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of Templates: time 0.008913/0.3389, allocations: 5.555 MB / 1.081 GB, free: 14.46 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/jenkins1/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