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.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.0009456/0.0009456, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001026/0.001026, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9506/0.9506, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.736/1.736, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.668e-05, allocations: 2.641 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005774/0.005811, allocations: 2.89 MB / 0.7899 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003619/0.00943, allocations: 1.662 MB / 0.7915 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.009892, allocations: 15.88 kB / 0.7916 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.01044, allocations: 104.2 kB / 0.7917 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000706/0.01115, allocations: 196.3 kB / 0.7918 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.01228, allocations: 407.1 kB / 0.7922 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008089/0.01309, allocations: 0.5576 MB / 0.7928 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.01345, allocations: 133.7 kB / 0.7929 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/0.01402, allocations: 303.1 kB / 0.7932 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.01432, allocations: 151.5 kB / 0.7933 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-05/0.0144, allocations: 40.62 kB / 0.7934 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.01467, allocations: 113.5 kB / 0.7935 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.01481, allocations: 111.5 kB / 0.7936 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.01498, allocations: 123.6 kB / 0.7937 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007468/0.01573, allocations: 406.4 kB / 0.7941 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.01573, allocations: 0 / 0.7941 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01573, allocations: 1.75 kB / 0.7941 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.01574, allocations: 0 / 0.7941 GB, free: 5.598 MB / 0.7448 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.001418/0.01716, allocations: 0.8325 MB / 0.7949 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.01722, allocations: 8.844 kB / 0.7949 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.01759, allocations: 98.06 kB / 0.795 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/0.01837, allocations: 412.7 kB / 0.7954 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.01841, allocations: 21.03 kB / 0.7954 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.01847, allocations: 24.38 kB / 0.7954 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.01918, allocations: 329.5 kB / 0.7958 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.0192, allocations: 0 / 0.7958 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.01924, allocations: 12.53 kB / 0.7958 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.01925, allocations: 4 kB / 0.7958 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.01961, allocations: 104.5 kB / 0.7959 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.02129, allocations: 1.094 MB / 0.7969 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.02185, allocations: 156.6 kB / 0.7971 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.022, allocations: 60.81 kB / 0.7972 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.02203, allocations: 4 kB / 0.7972 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.0223, allocations: 115.4 kB / 0.7973 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 2.855e-06/0.0223, allocations: 1.375 kB / 0.7973 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0006122/0.02291, allocations: 227.6 kB / 0.7975 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.02297, allocations: 82.02 kB / 0.7976 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.02347, allocations: 438.5 kB / 0.798 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.02351, allocations: 33.7 kB / 0.798 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.02373, allocations: 284.1 kB / 0.7983 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.0238, allocations: 83.3 kB / 0.7984 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.0239, allocations: 60.64 kB / 0.7984 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.02411, allocations: 0.5235 MB / 0.7989 GB, free: 396 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.02424, allocations: 31.98 kB / 0.799 GB, free: 364 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.02443, allocations: 177.4 kB / 0.7991 GB, free: 140 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.02474, allocations: 140.3 kB / 0.7993 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.02474, allocations: 0 / 0.7993 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004723/0.02522, allocations: 224.5 kB / 0.7995 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.02524, allocations: 5.719 kB / 0.7995 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.02525, allocations: 0 / 0.7995 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.02527, allocations: 7.938 kB / 0.7995 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.0255, allocations: 51.91 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.02551, allocations: 4 kB / 0.7995 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.02566, allocations: 23.88 kB / 0.7996 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.02568, allocations: 8 kB / 0.7996 GB, free: 15.66 MB / 0.7605 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.0001658/0.02584, allocations: 175 kB / 0.7997 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.02592, allocations: 51.72 kB / 0.7998 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.02637, allocations: 209.2 kB / 0.8 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.02638, allocations: 8.594 kB / 0.8 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.02639, allocations: 4 kB / 0.8 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.0264, allocations: 2.812 kB / 0.8 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.02677, allocations: 300.3 kB / 0.8003 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.02677, allocations: 0 / 0.8003 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.02697, allocations: 31.98 kB / 0.8003 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.02697, allocations: 0 / 0.8003 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.027, allocations: 8 kB / 0.8003 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.02701, allocations: 3.984 kB / 0.8003 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.02701, allocations: 3.938 kB / 0.8003 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.02758, allocations: 285.1 kB / 0.8006 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.0277, allocations: 71.62 kB / 0.8007 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.02775, allocations: 15.92 kB / 0.8007 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.02788, allocations: 8 kB / 0.8007 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.02798, allocations: 27.89 kB / 0.8007 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.028, allocations: 4.938 kB / 0.8007 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003296/0.02833, allocations: 287.1 kB / 0.801 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.1e-07/0.02833, allocations: 1.125 kB / 0.801 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004013/0.02873, allocations: 83.77 kB / 0.8011 GB, free: 14.05 MB / 0.7605 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.001292/0.03003, allocations: 414.5 kB / 0.8015 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.03041, allocations: 135.4 kB / 0.8016 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.03041, allocations: 0 / 0.8016 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.03057, allocations: 78.16 kB / 0.8017 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.0311, allocations: 114.7 kB / 0.8018 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.03286, allocations: 0.6512 MB / 0.8024 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.389e-05/0.03296, allocations: 104.6 kB / 0.8025 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000205/0.03316, allocations: 51.23 kB / 0.8026 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.03329, allocations: 40.48 kB / 0.8026 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of SimCode: time 1.714e-06/0.03329, allocations: 0 / 0.8026 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of Templates: time 0.01069/0.04398, allocations: 4.946 MB / 0.8075 GB, free: 7.766 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] 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","",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.021760527975857]