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.001015/0.001015, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001249/0.001249, allocations: 161 kB / 23.82 MB, free: 0.75 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.9024/0.9024, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.687/1.687, allocations: 359 MB / 0.6052 GB, free: 10.98 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 1.903e-06/1.903e-06, allocations: 112 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.555e-05, allocations: 8.641 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005609/0.005645, allocations: 2.905 MB / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.008972, allocations: 1.67 MB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.009412, allocations: 15.88 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.009934, allocations: 108 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006725/0.01061, allocations: 197.7 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.01171, allocations: 396.3 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007713/0.01248, allocations: 0.5498 MB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.01281, allocations: 139.3 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.01337, allocations: 307.1 kB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.0137, allocations: 159 kB / 0.7934 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.593e-05/0.01378, allocations: 40 kB / 0.7934 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.01403, allocations: 107.9 kB / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.01417, allocations: 99.62 kB / 0.7936 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.01433, allocations: 127.5 kB / 0.7937 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.01502, allocations: 406.3 kB / 0.7941 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.01503, allocations: 0 / 0.7941 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01503, allocations: 0 / 0.7941 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.01504, allocations: 0 / 0.7941 GB, free: 5.285 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.001256/0.01629, allocations: 0.8215 MB / 0.7949 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.01634, allocations: 8.562 kB / 0.7949 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003198/0.01666, allocations: 93.7 kB / 0.795 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.01736, allocations: 408.2 kB / 0.7954 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.01739, allocations: 21.03 kB / 0.7954 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.01745, allocations: 29.44 kB / 0.7954 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008224/0.01827, allocations: 287.5 kB / 0.7957 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.01828, allocations: 4.953 kB / 0.7957 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.01832, allocations: 19.88 kB / 0.7957 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.01833, allocations: 8 kB / 0.7957 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.01863, allocations: 99.83 kB / 0.7958 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.02003, allocations: 1.094 MB / 0.7969 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.02048, allocations: 155 kB / 0.7971 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.02062, allocations: 55.66 kB / 0.7971 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.02065, allocations: 7.938 kB / 0.7971 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.02089, allocations: 118.9 kB / 0.7972 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 3.336e-06/0.02089, allocations: 0 / 0.7972 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0005678/0.02146, allocations: 225.2 kB / 0.7974 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.0215, allocations: 51.41 kB / 0.7975 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.022, allocations: 442.5 kB / 0.7979 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.02203, allocations: 33.64 kB / 0.798 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.02224, allocations: 288.9 kB / 0.7982 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.02231, allocations: 79.31 kB / 0.7983 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.02242, allocations: 59.34 kB / 0.7984 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.02261, allocations: 0.5235 MB / 0.7989 GB, free: 168 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.02273, allocations: 36.59 kB / 0.7989 GB, free: 132 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.02291, allocations: 128.1 kB / 0.799 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.02318, allocations: 150.6 kB / 0.7992 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.02318, allocations: 0 / 0.7992 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004255/0.02361, allocations: 219 kB / 0.7994 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.02363, allocations: 4 kB / 0.7994 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.02364, allocations: 4 kB / 0.7994 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.02366, allocations: 7.875 kB / 0.7994 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.02388, allocations: 48.72 kB / 0.7994 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.02388, allocations: 3.938 kB / 0.7994 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.02402, allocations: 28.81 kB / 0.7995 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.02404, allocations: 12 kB / 0.7995 GB, free: 15.48 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.0001454/0.02419, allocations: 169.7 kB / 0.7996 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.02426, allocations: 55.64 kB / 0.7997 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.02468, allocations: 199.4 kB / 0.7999 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.02469, allocations: 7.938 kB / 0.7999 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.0247, allocations: 0 / 0.7999 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.0247, allocations: 0 / 0.7999 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.02505, allocations: 304.1 kB / 0.8002 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02505, allocations: 0 / 0.8002 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.02524, allocations: 35.92 kB / 0.8002 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.02525, allocations: 0 / 0.8002 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.02527, allocations: 11.98 kB / 0.8002 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.02527, allocations: 3.984 kB / 0.8002 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.02528, allocations: 3.938 kB / 0.8002 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.02583, allocations: 290.5 kB / 0.8005 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.02595, allocations: 63.62 kB / 0.8006 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.026, allocations: 4.938 kB / 0.8006 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.02613, allocations: 12 kB / 0.8006 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.02621, allocations: 24.92 kB / 0.8006 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.02624, allocations: 8 kB / 0.8006 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003045/0.02654, allocations: 287 kB / 0.8009 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02654, allocations: 1.125 kB / 0.8009 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000377/0.02692, allocations: 83.72 kB / 0.801 GB, free: 13.89 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.00134/0.02826, allocations: 420.1 kB / 0.8014 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003643/0.02862, allocations: 135.4 kB / 0.8015 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02863, allocations: 0 / 0.8015 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.02879, allocations: 79.58 kB / 0.8016 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.02934, allocations: 97.67 kB / 0.8017 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.0305, allocations: 0.6628 MB / 0.8023 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.03056, allocations: 100.6 kB / 0.8024 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.03068, allocations: 55.23 kB / 0.8025 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.03076, allocations: 40.48 kB / 0.8025 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of SimCode: time 1.493e-06/0.03076, allocations: 0 / 0.8025 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of Templates: time 0.01193/0.04269, allocations: 5.168 MB / 0.8076 GB, free: 7.383 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: 4.833922561258078]