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.0009908/0.0009908, 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.0009889/0.0009889, 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.9285/0.9285, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.748/1.748, allocations: 359 MB / 0.6052 GB, free: 10.99 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.342e-06/1.342e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.486e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003373/0.003387, allocations: 2.916 MB / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.0055, allocations: 1.667 MB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.005726, allocations: 15.88 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.006094, allocations: 108.2 kB / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.006486, allocations: 193.7 kB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.007115, allocations: 397 kB / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.007555, allocations: 0.5576 MB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.007767, allocations: 137.7 kB / 0.7929 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.008084, allocations: 301.4 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.008253, allocations: 155.5 kB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.008302, allocations: 40 kB / 0.7934 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.008452, allocations: 103.9 kB / 0.7935 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.008544, allocations: 111.5 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.00864, allocations: 128.1 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.009048, allocations: 408 kB / 0.7941 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00905, allocations: 0 / 0.7941 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00905, allocations: 0 / 0.7941 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.009056, allocations: 0 / 0.7941 GB, free: 5.254 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.0007974/0.009853, allocations: 0.8335 MB / 0.7949 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.009885, allocations: 8.938 kB / 0.7949 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.01007, allocations: 96.53 kB / 0.795 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.01072, allocations: 413.5 kB / 0.7954 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.01074, allocations: 25.03 kB / 0.7954 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.01079, allocations: 24.38 kB / 0.7955 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.01117, allocations: 329.5 kB / 0.7958 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01118, allocations: 0.5312 kB / 0.7958 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.01121, allocations: 12 kB / 0.7958 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.01122, allocations: 5.656 kB / 0.7958 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.01147, allocations: 102.9 kB / 0.7959 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/0.01236, allocations: 1.098 MB / 0.797 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.01264, allocations: 156.6 kB / 0.7971 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.01272, allocations: 56.81 kB / 0.7972 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.01274, allocations: 4 kB / 0.7972 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.01289, allocations: 116.8 kB / 0.7973 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.01289, allocations: 0 / 0.7973 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0003446/0.01324, allocations: 232.5 kB / 0.7975 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.01327, allocations: 77.11 kB / 0.7976 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.01356, allocations: 446.5 kB / 0.798 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.01358, allocations: 34.55 kB / 0.798 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01372, allocations: 279.4 kB / 0.7983 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.01376, allocations: 84.58 kB / 0.7984 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.01382, allocations: 55.36 kB / 0.7984 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01395, allocations: 0.5274 MB / 0.799 GB, free: 36 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.01401, allocations: 32.77 kB / 0.799 GB, free: 4 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.01414, allocations: 172.9 kB / 0.7991 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.0143, allocations: 144.3 kB / 0.7993 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.0143, allocations: 1.125 kB / 0.7993 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002501/0.01455, allocations: 223.4 kB / 0.7995 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.01457, allocations: 4 kB / 0.7995 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01457, allocations: 0 / 0.7995 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01459, allocations: 7.938 kB / 0.7995 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.01472, allocations: 47.91 kB / 0.7996 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01473, allocations: 4 kB / 0.7996 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.0148, allocations: 23.88 kB / 0.7996 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.01482, allocations: 12.5 kB / 0.7996 GB, free: 15.31 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.987e-05/0.01492, allocations: 174.5 kB / 0.7998 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.01496, allocations: 51.72 kB / 0.7998 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.01522, allocations: 197.3 kB / 0.8 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01523, allocations: 8.812 kB / 0.8 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01523, allocations: 0 / 0.8 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01523, allocations: 0.6562 kB / 0.8 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.01545, allocations: 296.4 kB / 0.8003 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01545, allocations: 6.797 kB / 0.8003 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01556, allocations: 39.92 kB / 0.8003 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.01556, allocations: 0 / 0.8003 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.01558, allocations: 8 kB / 0.8003 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01558, allocations: 7.969 kB / 0.8004 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01558, allocations: 7.875 kB / 0.8004 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.01591, allocations: 289 kB / 0.8006 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.01599, allocations: 67.62 kB / 0.8007 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.01602, allocations: 11.98 kB / 0.8007 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.01608, allocations: 4 kB / 0.8007 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.01613, allocations: 27.89 kB / 0.8007 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.01615, allocations: 8 kB / 0.8007 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001839/0.01633, allocations: 288 kB / 0.801 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01633, allocations: 0 / 0.801 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002214/0.01656, allocations: 83.77 kB / 0.8011 GB, free: 13.71 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.0007699/0.01733, allocations: 414.1 kB / 0.8015 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01755, allocations: 135.4 kB / 0.8016 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01756, allocations: 0 / 0.8016 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.66e-05/0.01765, allocations: 78.22 kB / 0.8017 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.01796, allocations: 107.4 kB / 0.8018 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.01914, allocations: 0.6531 MB / 0.8024 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.0192, allocations: 108.6 kB / 0.8025 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.01931, allocations: 55.23 kB / 0.8026 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.01938, allocations: 36.48 kB / 0.8026 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.01938, allocations: 0 / 0.8026 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.006652/0.02603, allocations: 4.953 MB / 0.8075 GB, free: 7.418 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.062607277650386]