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.007258/0.007258, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001633/0.001633, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.536/2.536, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7829, allocations: 159.1 MB / 1.221 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004551/0.7874, allocations: 2.938 MB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.7898, allocations: 1.519 MB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.79, allocations: 11.94 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.7904, allocations: 107.2 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.7907, allocations: 151 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008489/0.7916, allocations: 415.7 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000594/0.7922, allocations: 0.5344 MB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.7925, allocations: 137.2 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.7927, allocations: 207.1 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.793, allocations: 199 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.7931, allocations: 43.94 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.7933, allocations: 95.97 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.7934, allocations: 111.6 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.7936, allocations: 202.8 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007125/0.7943, allocations: 0.6074 MB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7943, allocations: 0 / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7943, allocations: 0 / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.7943, allocations: 4 kB / 1.228 GB, free: 10.85 MB / 0.9512 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.001326/0.7956, allocations: 0.8072 MB / 1.228 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7957, allocations: 8.625 kB / 1.228 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.7958, allocations: 52.61 kB / 1.229 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006836/0.7965, allocations: 454.7 kB / 1.229 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.7965, allocations: 24.92 kB / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.7966, allocations: 27.94 kB / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.7971, allocations: 327.9 kB / 1.229 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.7972, allocations: 0 / 1.229 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.7972, allocations: 12 kB / 1.229 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.7972, allocations: 8 kB / 1.229 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.7977, allocations: 214.1 kB / 1.23 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.7991, allocations: 1.089 MB / 1.231 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.7997, allocations: 226.9 kB / 1.231 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.7999, allocations: 100.8 kB / 1.231 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.8, allocations: 15.91 kB / 1.231 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.8003, allocations: 154.2 kB / 1.231 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.8003, allocations: 0 / 1.231 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0008206/0.8011, allocations: 357 kB / 1.231 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.8012, allocations: 102.8 kB / 1.232 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.8017, allocations: 449.9 kB / 1.232 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.8017, allocations: 37.7 kB / 1.232 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.8019, allocations: 236.6 kB / 1.232 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.802, allocations: 75.38 kB / 1.232 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.8021, allocations: 53.66 kB / 1.232 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8022, allocations: 358.8 kB / 1.233 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.8025, allocations: 87.89 kB / 1.233 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.8027, allocations: 164.2 kB / 1.233 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.8032, allocations: 227.1 kB / 1.233 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8032, allocations: 4 kB / 1.233 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005776/0.8037, allocations: 303.9 kB / 1.233 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.8038, allocations: 4 kB / 1.233 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8038, allocations: 4 kB / 1.233 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8038, allocations: 0 / 1.233 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.804, allocations: 59.89 kB / 1.233 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.804, allocations: 0 / 1.233 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.8042, allocations: 27.88 kB / 1.234 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.8042, allocations: 8 kB / 1.234 GB, free: 4.539 MB / 0.9512 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.0001919/0.8044, allocations: 183.5 kB / 1.234 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.8045, allocations: 47.66 kB / 1.234 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.535e-05/0.8046, allocations: 47.84 kB / 1.234 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8046, allocations: 0 / 1.234 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.8046, allocations: 8 kB / 1.234 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.8046, allocations: 3.984 kB / 1.234 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.805, allocations: 413.3 kB / 1.234 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.805, allocations: 3.938 kB / 1.234 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.8052, allocations: 31.98 kB / 1.234 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8052, allocations: 4 kB / 1.234 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.8052, allocations: 11.92 kB / 1.234 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.8052, allocations: 4 kB / 1.234 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8052, allocations: 0 / 1.234 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/0.806, allocations: 412.6 kB / 1.235 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.8062, allocations: 152.8 kB / 1.235 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.8062, allocations: 8 kB / 1.235 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.8064, allocations: 7.984 kB / 1.235 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.8065, allocations: 19.97 kB / 1.235 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.8065, allocations: 15.94 kB / 1.235 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003278/0.8068, allocations: 319.1 kB / 1.235 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.8068, allocations: 0 / 1.235 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003124/0.8071, allocations: 79.78 kB / 1.235 GB, free: 2.711 MB / 0.9512 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.000977/0.8081, allocations: 437.4 kB / 1.236 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005278/0.8086, allocations: 214.9 kB / 1.236 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8086, allocations: 0 / 1.236 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.8089, allocations: 104.2 kB / 1.236 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.8094, allocations: 122.6 kB / 1.236 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.8106, allocations: 0.6947 MB / 1.237 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.8109, allocations: 0.8148 MB / 1.238 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.8111, allocations: 51.25 kB / 1.238 GB, free: 408 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.8112, allocations: 39.42 kB / 1.238 GB, free: 368 kB / 0.9512 GB Notification: Performance of SimCode: time 2.9e-07/0.8112, allocations: 0 / 1.238 GB, free: 368 kB / 0.9512 GB Notification: Performance of Templates: time 0.009354/0.8205, allocations: 4.801 MB / 1.242 GB, free: 11.64 MB / 0.9669 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=480 -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