Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 443.5 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 1.057 GB, free: 2.031 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4007, allocations: 160.7 MB / 1.214 GB, free: 1 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.006517/0.4073, allocations: 2.939 MB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.4107, allocations: 1.535 MB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.411, allocations: 11.94 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.4115, allocations: 107.2 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.4119, allocations: 151 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.4128, allocations: 417.7 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006655/0.4135, allocations: 0.5266 MB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.4138, allocations: 141.1 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.4141, allocations: 203.1 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.4144, allocations: 210.9 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.4144, allocations: 40 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.4147, allocations: 99.95 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.4148, allocations: 107.5 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.415, allocations: 210.8 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000857/0.4159, allocations: 0.6069 MB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4159, allocations: 0 / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4159, allocations: 0 / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.4159, allocations: 0 / 1.221 GB, free: 9.688 MB / 0.9669 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.001556/0.4175, allocations: 0.8111 MB / 1.222 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4175, allocations: 8.031 kB / 1.222 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.4176, allocations: 52.61 kB / 1.222 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000768/0.4184, allocations: 446.8 kB / 1.222 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.4184, allocations: 20.94 kB / 1.222 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.4185, allocations: 31.94 kB / 1.222 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.4192, allocations: 327.9 kB / 1.223 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4192, allocations: 0 / 1.223 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.4192, allocations: 12 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4192, allocations: 11.94 kB / 1.223 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.4197, allocations: 214.1 kB / 1.223 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.4212, allocations: 1.101 MB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.4219, allocations: 214.9 kB / 1.224 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.4221, allocations: 112.8 kB / 1.224 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.4222, allocations: 7.969 kB / 1.224 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/0.4225, allocations: 159.1 kB / 1.225 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=23): time 1.572e-06/0.4225, allocations: 0 / 1.225 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.0008996/0.4234, allocations: 363 kB / 1.225 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.4235, allocations: 102.8 kB / 1.225 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.4241, allocations: 449.9 kB / 1.225 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.4241, allocations: 33.7 kB / 1.225 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.4243, allocations: 228.7 kB / 1.226 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.4244, allocations: 71.38 kB / 1.226 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.4245, allocations: 57.69 kB / 1.226 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.4247, allocations: 354.8 kB / 1.226 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.4249, allocations: 79.95 kB / 1.226 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.4252, allocations: 157.2 kB / 1.226 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.4257, allocations: 223.2 kB / 1.227 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4257, allocations: 4 kB / 1.227 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000624/0.4263, allocations: 306.2 kB / 1.227 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.4264, allocations: 9.859 kB / 1.227 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4264, allocations: 0 / 1.227 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4264, allocations: 4 kB / 1.227 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.4266, allocations: 55.91 kB / 1.227 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.4267, allocations: 4.141 kB / 1.227 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.4268, allocations: 35.81 kB / 1.227 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.4269, allocations: 11.94 kB / 1.227 GB, free: 3.371 MB / 0.9669 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.0002265/0.4271, allocations: 174.7 kB / 1.227 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.4271, allocations: 47.66 kB / 1.227 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.4272, allocations: 47.84 kB / 1.227 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.4273, allocations: 3.984 kB / 1.227 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4273, allocations: 4 kB / 1.227 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4273, allocations: 8 kB / 1.227 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.4278, allocations: 413.2 kB / 1.228 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4278, allocations: 3.938 kB / 1.228 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.428, allocations: 39.97 kB / 1.228 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.428, allocations: 0 / 1.228 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.428, allocations: 3.938 kB / 1.228 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.428, allocations: 4 kB / 1.228 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.428, allocations: 0 / 1.228 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.4289, allocations: 427.7 kB / 1.228 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.4291, allocations: 144.7 kB / 1.228 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.4291, allocations: 8 kB / 1.228 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.4293, allocations: 11.98 kB / 1.228 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.4294, allocations: 19.97 kB / 1.228 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4294, allocations: 8 kB / 1.228 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004028/0.4298, allocations: 327.1 kB / 1.229 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4298, allocations: 0 / 1.229 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003276/0.4301, allocations: 79.78 kB / 1.229 GB, free: 1.547 MB / 0.9669 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.001654/0.4318, allocations: 431.8 kB / 1.229 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005868/0.4324, allocations: 215.9 kB / 1.229 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4324, allocations: 0 / 1.229 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.4326, allocations: 99.89 kB / 1.229 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.4331, allocations: 111.6 kB / 1.23 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.4344, allocations: 0.7296 MB / 1.23 GB, free: 112 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.4349, allocations: 0.8109 MB / 1.231 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.435, allocations: 35.42 kB / 1.231 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.435, allocations: 0 / 1.231 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.009286/0.4443, allocations: 5.681 MB / 1.237 GB, free: 9.598 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.135990750975907]