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.001452/0.001452, allocations: 80.3 kB / 21.47 MB, free: 3.023 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.001836/0.001836, allocations: 167.9 kB / 24.86 MB, free: 8.875 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.929/0.929, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.717/1.717, allocations: 359 MB / 0.6063 GB, free: 10.89 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.774e-06/1.774e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.201e-05, allocations: 4.719 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.006864/0.006886, allocations: 2.854 MB / 0.7911 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005684/0.01257, allocations: 1.651 MB / 0.7927 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.01284, allocations: 15.88 kB / 0.7927 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.01321, allocations: 111.8 kB / 0.7928 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.01668, allocations: 192.8 kB / 0.793 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.01745, allocations: 397.5 kB / 0.7934 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005427/0.018, allocations: 0.5537 MB / 0.7939 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.01823, allocations: 135.5 kB / 0.794 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.01862, allocations: 315 kB / 0.7943 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.01881, allocations: 151.5 kB / 0.7945 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.01886, allocations: 42.53 kB / 0.7945 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.01904, allocations: 103.9 kB / 0.7946 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.01914, allocations: 111.5 kB / 0.7947 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.01925, allocations: 119.6 kB / 0.7949 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.01972, allocations: 406.3 kB / 0.7952 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01972, allocations: 0 / 0.7952 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.01972, allocations: 0 / 0.7952 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.01973, allocations: 0.625 kB / 0.7952 GB, free: 5.109 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.001168/0.0209, allocations: 0.8255 MB / 0.796 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.02093, allocations: 12.03 kB / 0.7961 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.02114, allocations: 94.3 kB / 0.7962 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.02161, allocations: 404 kB / 0.7965 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.02164, allocations: 24.97 kB / 0.7966 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.02168, allocations: 28.38 kB / 0.7966 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.02202, allocations: 269.1 kB / 0.7968 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.02203, allocations: 0 / 0.7968 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.02205, allocations: 12 kB / 0.7969 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.02206, allocations: 10.12 kB / 0.7969 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.02218, allocations: 79.36 kB / 0.7969 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.02295, allocations: 1.036 MB / 0.798 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.02317, allocations: 137.2 kB / 0.7981 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.02322, allocations: 61.19 kB / 0.7981 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.02324, allocations: 4 kB / 0.7981 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.02336, allocations: 107.3 kB / 0.7982 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.303e-06/0.02336, allocations: 0 / 0.7982 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0002816/0.02365, allocations: 209.5 kB / 0.7984 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.02367, allocations: 55.41 kB / 0.7985 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.02391, allocations: 426.4 kB / 0.7989 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.02393, allocations: 29.7 kB / 0.7989 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.02406, allocations: 284.5 kB / 0.7992 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.0241, allocations: 87.22 kB / 0.7993 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.02416, allocations: 55.34 kB / 0.7993 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.02429, allocations: 0.5403 MB / 0.7999 GB, free: 148 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.02433, allocations: 27.92 kB / 0.7999 GB, free: 120 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.02443, allocations: 127.5 kB / 0.8 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.02455, allocations: 133 kB / 0.8001 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.02456, allocations: 0 / 0.8001 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002022/0.02476, allocations: 201.4 kB / 0.8003 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.02477, allocations: 9.719 kB / 0.8003 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.02477, allocations: 0 / 0.8003 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.02478, allocations: 4 kB / 0.8003 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.0249, allocations: 47.91 kB / 0.8004 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.02491, allocations: 8.812 kB / 0.8004 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.02498, allocations: 19.89 kB / 0.8004 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.025, allocations: 15.45 kB / 0.8004 GB, free: 15.51 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 9.897e-05/0.0251, allocations: 176.5 kB / 0.8006 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.02514, allocations: 47.72 kB / 0.8007 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.02536, allocations: 185.2 kB / 0.8008 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02536, allocations: 4 kB / 0.8008 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.02536, allocations: 7.922 kB / 0.8008 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.02537, allocations: 0 / 0.8008 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.02556, allocations: 241.4 kB / 0.8011 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.02556, allocations: 1.938 kB / 0.8011 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.02566, allocations: 35.98 kB / 0.8011 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.02566, allocations: 0 / 0.8011 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.02568, allocations: 11.92 kB / 0.8011 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.02568, allocations: 0 / 0.8011 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02568, allocations: 0.6562 kB / 0.8011 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.02594, allocations: 265.5 kB / 0.8014 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.02601, allocations: 63.62 kB / 0.8014 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.02604, allocations: 11.98 kB / 0.8014 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.0261, allocations: 8 kB / 0.8015 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.02614, allocations: 23.95 kB / 0.8015 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.02616, allocations: 8 kB / 0.8015 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001369/0.0263, allocations: 267 kB / 0.8017 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.0263, allocations: 2.594 kB / 0.8017 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000218/0.02651, allocations: 91.64 kB / 0.8018 GB, free: 14.04 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.0007607/0.02728, allocations: 413.4 kB / 0.8022 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.02745, allocations: 119.3 kB / 0.8023 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.02746, allocations: 0 / 0.8023 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.0278, allocations: 78.2 kB / 0.8024 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.02809, allocations: 108.5 kB / 0.8025 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008712/0.02896, allocations: 0.6417 MB / 0.8031 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.53e-05/0.02902, allocations: 104.6 kB / 0.8032 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.02914, allocations: 47.25 kB / 0.8033 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.0293, allocations: 150.1 kB / 0.8034 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of SimCode: time 8.22e-07/0.0293, allocations: 3.938 kB / 0.8034 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.007101/0.0364, allocations: 5.366 MB / 0.8087 GB, free: 7.262 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.902816720772535]