Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001316/0.001316, allocations: 78.88 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001561/0.001561, allocations: 168.8 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.815/2.815, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.063e-05/4.299e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005584/0.005627, allocations: 2.78 MB / 0.9841 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003909/0.009536, allocations: 1.644 MB / 0.9857 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006063/0.01014, allocations: 19.81 kB / 0.9858 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006335/0.01078, allocations: 103.2 kB / 0.9859 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008616/0.01164, allocations: 194.7 kB / 0.986 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.01299, allocations: 402.2 kB / 0.9864 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009612/0.01395, allocations: 0.5537 MB / 0.987 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.01433, allocations: 129.8 kB / 0.9871 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000714/0.01505, allocations: 299.2 kB / 0.9874 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.01539, allocations: 167.4 kB / 0.9875 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.01548, allocations: 43.94 kB / 0.9876 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.01579, allocations: 107.9 kB / 0.9877 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.01597, allocations: 107.6 kB / 0.9878 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.01615, allocations: 131.5 kB / 0.9879 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.01718, allocations: 0.6268 MB / 0.9885 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.01719, allocations: 4 kB / 0.9885 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.033e-06/0.0172, allocations: 0 / 0.9885 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.89e-05/0.01723, allocations: 0 / 0.9885 GB, free: 4.664 MB / 0.9356 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.002112/0.01934, allocations: 0.7358 MB / 0.9892 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.581e-05/0.0194, allocations: 16.03 kB / 0.9893 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004589/0.01986, allocations: 72.58 kB / 0.9893 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.02103, allocations: 386.9 kB / 0.9897 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.02108, allocations: 24.97 kB / 0.9897 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.02117, allocations: 32.31 kB / 0.9898 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.02204, allocations: 379.9 kB / 0.9901 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.02206, allocations: 0 / 0.9901 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.0221, allocations: 12 kB / 0.9901 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.02212, allocations: 8 kB / 0.9901 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006181/0.02274, allocations: 213.8 kB / 0.9903 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.02475, allocations: 0.9336 MB / 0.9913 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/0.02554, allocations: 230.8 kB / 0.9915 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.02582, allocations: 100.8 kB / 0.9916 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.02586, allocations: 4 kB / 0.9916 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004305/0.02629, allocations: 155.2 kB / 0.9917 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 2.444e-06/0.0263, allocations: 4 kB / 0.9917 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0009869/0.02728, allocations: 359.6 kB / 0.9921 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.02736, allocations: 77.11 kB / 0.9921 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/0.02798, allocations: 445.8 kB / 0.9926 GB, free: 332 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.02802, allocations: 33.7 kB / 0.9926 GB, free: 292 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.02824, allocations: 236.6 kB / 0.9928 GB, free: 52 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.02836, allocations: 75.56 kB / 0.9929 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.02847, allocations: 53.7 kB / 0.9929 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.02865, allocations: 354.8 kB / 0.9933 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.0289, allocations: 91.88 kB / 0.9934 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.02923, allocations: 206.1 kB / 0.9936 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.02974, allocations: 223.5 kB / 0.9938 GB, free: 15 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02975, allocations: 0 / 0.9938 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006939/0.03044, allocations: 297 kB / 0.9941 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.03046, allocations: 6.188 kB / 0.9941 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.03047, allocations: 8.156 kB / 0.9941 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.0305, allocations: 15.67 kB / 0.9941 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.03076, allocations: 51.91 kB / 0.9941 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.03077, allocations: 4 kB / 0.9941 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.03098, allocations: 31.77 kB / 0.9942 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.03101, allocations: 8 kB / 0.9942 GB, free: 14.58 MB / 0.9512 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.0002406/0.03125, allocations: 177.8 kB / 0.9944 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.03134, allocations: 39.72 kB / 0.9944 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007386/0.03207, allocations: 306.8 kB / 0.9947 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.03208, allocations: 3.938 kB / 0.9947 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/0.0321, allocations: 4 kB / 0.9947 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.03212, allocations: 11.97 kB / 0.9947 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.03252, allocations: 301 kB / 0.995 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.03252, allocations: 0 / 0.995 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.03275, allocations: 39.97 kB / 0.995 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.03276, allocations: 4 kB / 0.995 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.03278, allocations: 4 kB / 0.995 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.03278, allocations: 0 / 0.995 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.03279, allocations: 11.86 kB / 0.995 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009655/0.03375, allocations: 431.8 kB / 0.9955 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.0339, allocations: 63.66 kB / 0.9955 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.03396, allocations: 8 kB / 0.9955 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.03412, allocations: 16.05 kB / 0.9955 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.03423, allocations: 23.91 kB / 0.9956 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.03426, allocations: 7.984 kB / 0.9956 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003949/0.03465, allocations: 315.1 kB / 0.9959 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.03465, allocations: 0 / 0.9959 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004075/0.03506, allocations: 75.83 kB / 0.9959 GB, free: 12.72 MB / 0.9512 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.001855/0.03691, allocations: 459.4 kB / 0.9964 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006246/0.03754, allocations: 219.7 kB / 0.9966 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.03754, allocations: 0 / 0.9966 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.03784, allocations: 115.8 kB / 0.9967 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.03844, allocations: 104.9 kB / 0.9968 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.04005, allocations: 0.6953 MB / 0.9975 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.0403, allocations: 215.4 kB / 0.9977 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.04054, allocations: 59.23 kB / 0.9977 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.04066, allocations: 32.48 kB / 0.9978 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of SimCode: time 7.41e-07/0.04066, allocations: 0 / 0.9978 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.0119/0.05255, allocations: 4.91 MB / 1.003 GB, free: 6.207 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.62404539436102]