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.001796/0.001796, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001689/0.001689, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.454/1.454, allocations: 225.6 MB / 249.4 MB, free: 3.289 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.628/2.628, allocations: 443.5 MB / 0.7304 GB, free: 14.05 MB / 0.5762 GB " [Timeout remaining time 177] 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.002015/0.002015, allocations: 67.89 kB / 1.059 GB, free: 448 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2903, allocations: 160.7 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005257/0.2956, allocations: 2.972 MB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.2989, allocations: 1.539 MB / 1.221 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004046/0.2993, allocations: 11.94 kB / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.2998, allocations: 107.1 kB / 1.221 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.3002, allocations: 139.1 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3013, allocations: 426.3 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006951/0.302, allocations: 0.5305 MB / 1.222 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.3023, allocations: 141.1 kB / 1.222 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.3026, allocations: 211.1 kB / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.3029, allocations: 203 kB / 1.222 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.303, allocations: 44 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.3032, allocations: 99.95 kB / 1.222 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.3033, allocations: 111.5 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.3036, allocations: 206.8 kB / 1.223 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007661/0.3043, allocations: 0.603 MB / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3043, allocations: 0 / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3043, allocations: 0 / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3043, allocations: 0 / 1.223 GB, free: 8.051 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.001339/0.3057, allocations: 0.8111 MB / 1.224 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3057, allocations: 12.03 kB / 1.224 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.3058, allocations: 52.61 kB / 1.224 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.3065, allocations: 446.8 kB / 1.225 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.3066, allocations: 20.94 kB / 1.225 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.3066, allocations: 31.89 kB / 1.225 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.3073, allocations: 331.9 kB / 1.225 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3073, allocations: 0 / 1.225 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.3073, allocations: 15.98 kB / 1.225 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3073, allocations: 7.984 kB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.3078, allocations: 214 kB / 1.225 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.3094, allocations: 1.097 MB / 1.226 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.31, allocations: 226.9 kB / 1.226 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.3103, allocations: 104.8 kB / 1.227 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.3103, allocations: 4 kB / 1.227 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.3107, allocations: 156.8 kB / 1.227 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.3107, allocations: 4 kB / 1.227 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.0008904/0.3116, allocations: 351.2 kB / 1.227 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.3116, allocations: 110.8 kB / 1.227 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.3122, allocations: 449.9 kB / 1.228 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3122, allocations: 29.7 kB / 1.228 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.3124, allocations: 228.7 kB / 1.228 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.3125, allocations: 83.36 kB / 1.228 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3126, allocations: 53.69 kB / 1.228 GB, free: 3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.3128, allocations: 354.7 kB / 1.228 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.3131, allocations: 87.95 kB / 1.228 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.3134, allocations: 165.1 kB / 1.228 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.3139, allocations: 214.9 kB / 1.229 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3139, allocations: 0 / 1.229 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006466/0.3145, allocations: 301 kB / 1.229 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3146, allocations: 9.875 kB / 1.229 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3146, allocations: 4.156 kB / 1.229 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.3146, allocations: 7.984 kB / 1.229 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.3149, allocations: 47.91 kB / 1.229 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3149, allocations: 4 kB / 1.229 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3151, allocations: 35.77 kB / 1.229 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.3151, allocations: 12 kB / 1.229 GB, free: 1.727 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.0002136/0.3153, allocations: 178.9 kB / 1.229 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.3154, allocations: 47.66 kB / 1.229 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006653/0.316, allocations: 287.3 kB / 1.23 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.316, allocations: 4 kB / 1.23 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.316, allocations: 0 / 1.23 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.316, allocations: 3.938 kB / 1.23 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.3165, allocations: 413.3 kB / 1.23 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3165, allocations: 3.938 kB / 1.23 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.3167, allocations: 39.97 kB / 1.23 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3167, allocations: 0 / 1.23 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.3168, allocations: 11.98 kB / 1.23 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3168, allocations: 0 / 1.23 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3168, allocations: 0 / 1.23 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000916/0.3177, allocations: 431 kB / 1.23 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.3178, allocations: 148.7 kB / 1.231 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.3179, allocations: 4 kB / 1.231 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3181, allocations: 15.98 kB / 1.231 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.3181, allocations: 19.97 kB / 1.231 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3182, allocations: 8 kB / 1.231 GB, free: 52 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004114/0.3186, allocations: 319.2 kB / 1.231 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3186, allocations: 0 / 1.231 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003975/0.319, allocations: 83.77 kB / 1.231 GB, free: 15.66 MB / 0.9825 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 (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.001594/0.3206, allocations: 428 kB / 1.231 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006213/0.3212, allocations: 211.7 kB / 1.232 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3212, allocations: 0 / 1.232 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.3215, allocations: 106.8 kB / 1.232 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.322, allocations: 111.5 kB / 1.232 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3234, allocations: 0.6947 MB / 1.233 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.3239, allocations: 0.8188 MB / 1.233 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.324, allocations: 55.23 kB / 1.233 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.3241, allocations: 27.44 kB / 1.233 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/0.3241, allocations: 0 / 1.233 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.01076/0.3349, allocations: 4.87 MB / 1.238 GB, free: 8.551 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.990401511080563]