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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000948/0.000948, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9273/0.9273, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.231/2.231, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.436e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003462/0.003487, allocations: 2.854 MB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.005511, allocations: 1.656 MB / 0.8941 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.00577, allocations: 15.88 kB / 0.8942 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.006121, allocations: 107.1 kB / 0.8943 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.006483, allocations: 190.8 kB / 0.8944 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.007055, allocations: 406.9 kB / 0.8948 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.007491, allocations: 0.5576 MB / 0.8954 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.007694, allocations: 130.3 kB / 0.8955 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.008013, allocations: 311.1 kB / 0.8958 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.008181, allocations: 151.5 kB / 0.8959 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.008222, allocations: 40 kB / 0.896 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.008376, allocations: 103.9 kB / 0.8961 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.008463, allocations: 111.5 kB / 0.8962 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.008546, allocations: 119.6 kB / 0.8963 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.008945, allocations: 398.3 kB / 0.8967 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008948, allocations: 4 kB / 0.8967 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.62e-07/0.008949, allocations: 0 / 0.8967 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.008954, allocations: 3.938 kB / 0.8967 GB, free: 2.625 MB / 0.8542 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.0007548/0.009709, allocations: 0.8353 MB / 0.8975 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.00974, allocations: 8.031 kB / 0.8975 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.009913, allocations: 88.59 kB / 0.8976 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.01029, allocations: 406.5 kB / 0.898 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.01032, allocations: 25.03 kB / 0.898 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.01035, allocations: 32.31 kB / 0.898 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.01062, allocations: 271.5 kB / 0.8983 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.01063, allocations: 3.984 kB / 0.8983 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.01065, allocations: 8 kB / 0.8983 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.01066, allocations: 8 kB / 0.8983 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.01076, allocations: 79.36 kB / 0.8984 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.01154, allocations: 1.035 MB / 0.8994 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.01176, allocations: 143.3 kB / 0.8995 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.01182, allocations: 49.72 kB / 0.8996 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.01184, allocations: 4 kB / 0.8996 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.01196, allocations: 112.8 kB / 0.8997 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 1.372e-06/0.01196, allocations: 4 kB / 0.8997 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0002703/0.01223, allocations: 207.6 kB / 0.8999 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.01225, allocations: 55.41 kB / 0.8999 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.0125, allocations: 426.4 kB / 0.9004 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.01252, allocations: 29.7 kB / 0.9004 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.01265, allocations: 287.3 kB / 0.9007 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.01269, allocations: 75.31 kB / 0.9007 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.01275, allocations: 63.31 kB / 0.9008 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.01288, allocations: 0.5312 MB / 0.9013 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.01293, allocations: 27.97 kB / 0.9013 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.01301, allocations: 131.4 kB / 0.9015 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.01313, allocations: 123.9 kB / 0.9016 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01313, allocations: 0 / 0.9016 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001969/0.01333, allocations: 205.1 kB / 0.9018 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01334, allocations: 4 kB / 0.9018 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01335, allocations: 4 kB / 0.9018 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.01336, allocations: 7.984 kB / 0.9018 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.01348, allocations: 47.91 kB / 0.9018 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.01349, allocations: 3.938 kB / 0.9018 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.01356, allocations: 31.83 kB / 0.9019 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.01358, allocations: 8 kB / 0.9019 GB, free: 12.99 MB / 0.8698 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 9.999e-05/0.01368, allocations: 178.2 kB / 0.902 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.01371, allocations: 43.72 kB / 0.9021 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.01393, allocations: 194.5 kB / 0.9023 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01394, allocations: 4 kB / 0.9023 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01394, allocations: 7.875 kB / 0.9023 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01394, allocations: 0 / 0.9023 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.01414, allocations: 248.9 kB / 0.9025 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01414, allocations: 0 / 0.9025 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.01423, allocations: 35.98 kB / 0.9026 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.01424, allocations: 4 kB / 0.9026 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01425, allocations: 7.984 kB / 0.9026 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01425, allocations: 3.938 kB / 0.9026 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01425, allocations: 0 / 0.9026 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.01453, allocations: 262.7 kB / 0.9028 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.0146, allocations: 63.62 kB / 0.9029 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.01462, allocations: 8 kB / 0.9029 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.01468, allocations: 8 kB / 0.9029 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.01473, allocations: 23.95 kB / 0.9029 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.01474, allocations: 8.031 kB / 0.9029 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001408/0.01488, allocations: 271 kB / 0.9032 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01488, allocations: 0 / 0.9032 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002175/0.0151, allocations: 79.77 kB / 0.9033 GB, free: 11.51 MB / 0.8698 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.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.0008005/0.0159, allocations: 408.2 kB / 0.9036 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.01608, allocations: 119.3 kB / 0.9038 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01608, allocations: 0 / 0.9038 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.01616, allocations: 70.44 kB / 0.9038 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01646, allocations: 121.1 kB / 0.9039 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009147/0.01737, allocations: 0.6353 MB / 0.9046 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.01743, allocations: 112.5 kB / 0.9047 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.01754, allocations: 43.27 kB / 0.9047 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.0177, allocations: 154.1 kB / 0.9049 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.0177, allocations: 0 / 0.9049 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of Templates: time 0.00711/0.02481, allocations: 5.294 MB / 0.91 GB, free: 4.812 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.251793451607227]