Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005848/0.005848, allocations: 96.69 kB / 15.73 MB, free: 6.484 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.001138/0.001138, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3006, allocations: 151.6 MB / 1.167 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004258/0.3049, allocations: 2.924 MB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.3074, allocations: 1.504 MB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.3077, allocations: 11.94 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.3082, allocations: 115.1 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.3086, allocations: 147 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009487/0.3095, allocations: 410.3 kB / 1.172 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.3102, allocations: 0.5305 MB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.3105, allocations: 205.1 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.3108, allocations: 211.1 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.311, allocations: 199 kB / 1.173 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.3111, allocations: 40 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.3113, allocations: 99.95 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3115, allocations: 115.5 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.3117, allocations: 210.8 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.3124, allocations: 0.6107 MB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3124, allocations: 0 / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3124, allocations: 0 / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3124, allocations: 0 / 1.174 GB, free: 15.53 MB / 0.9356 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.001341/0.3138, allocations: 0.8072 MB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3138, allocations: 11.97 kB / 1.175 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.3139, allocations: 56.61 kB / 1.175 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007402/0.3147, allocations: 446.8 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.3147, allocations: 20.94 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.3148, allocations: 31.89 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.3154, allocations: 331.9 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3154, allocations: 0 / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.3155, allocations: 12 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3155, allocations: 8 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.316, allocations: 210.1 kB / 1.176 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3174, allocations: 1.105 MB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.318, allocations: 238.8 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.3183, allocations: 112.8 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3183, allocations: 4 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/0.3187, allocations: 163.2 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.644e-06/0.3187, allocations: 0 / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0008244/0.3195, allocations: 350.8 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.3196, allocations: 106.8 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.3201, allocations: 453.9 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.3201, allocations: 33.7 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3203, allocations: 228.7 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.3204, allocations: 71.39 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/0.3205, allocations: 61.69 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3207, allocations: 350.8 kB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3209, allocations: 83.95 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.3212, allocations: 161.1 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.3216, allocations: 219.7 kB / 1.179 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3217, allocations: 0 / 1.179 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005841/0.3222, allocations: 305.1 kB / 1.179 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3223, allocations: 8.031 kB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3223, allocations: 4 kB / 1.179 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3223, allocations: 4 kB / 1.179 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.3226, allocations: 47.91 kB / 1.18 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3226, allocations: 4 kB / 1.18 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.3228, allocations: 35.77 kB / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.3228, allocations: 8 kB / 1.18 GB, free: 9.191 MB / 0.9356 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.0001891/0.323, allocations: 183 kB / 1.18 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.3231, allocations: 51.59 kB / 1.18 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.223e-05/0.3232, allocations: 43.83 kB / 1.18 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3232, allocations: 4 kB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3232, allocations: 0 / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3232, allocations: 3.938 kB / 1.18 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.3236, allocations: 417.2 kB / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3236, allocations: 7.938 kB / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.3238, allocations: 39.91 kB / 1.18 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3239, allocations: 0 / 1.18 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3239, allocations: 12 kB / 1.18 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3239, allocations: 0 / 1.18 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3239, allocations: 0 / 1.18 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008822/0.3248, allocations: 423.1 kB / 1.181 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.3249, allocations: 144.7 kB / 1.181 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.325, allocations: 15.98 kB / 1.181 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3251, allocations: 11.98 kB / 1.181 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.3252, allocations: 19.98 kB / 1.181 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.3253, allocations: 7.984 kB / 1.181 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000324/0.3256, allocations: 315.1 kB / 1.181 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3256, allocations: 3.938 kB / 1.181 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003361/0.3259, allocations: 79.83 kB / 1.181 GB, free: 7.359 MB / 0.9356 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.0009976/0.3269, allocations: 431.4 kB / 1.182 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005378/0.3275, allocations: 226.5 kB / 1.182 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3275, allocations: 0 / 1.182 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.3278, allocations: 111.9 kB / 1.182 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.3283, allocations: 115.4 kB / 1.182 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3296, allocations: 0.6966 MB / 1.183 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.3301, allocations: 0.8148 MB / 1.184 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.3303, allocations: 55.25 kB / 1.184 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.3304, allocations: 39.42 kB / 1.184 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of SimCode: time 2.806e-06/0.3304, allocations: 0 / 1.184 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of Templates: time 0.009629/0.34, allocations: 4.791 MB / 1.188 GB, free: 300 kB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches