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.001575/0.001575, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001728/0.001728, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.146/3.146, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003111/0.003111, allocations: 64.3 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2974, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004586/0.302, allocations: 2.772 MB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.305, allocations: 1.629 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.3053, allocations: 15.88 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.3057, allocations: 111.1 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.3062, allocations: 182.9 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008936/0.3071, allocations: 404.8 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.3077, allocations: 0.5538 MB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.308, allocations: 137.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.3083, allocations: 223 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.3086, allocations: 202.9 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.448e-05/0.3086, allocations: 44 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.3088, allocations: 111.9 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.309, allocations: 115.5 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.3092, allocations: 163 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.3099, allocations: 0.6186 MB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3099, allocations: 0 / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3099, allocations: 0 / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3099, allocations: 0 / 1.334 GB, free: 9.691 MB / 1.029 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.001324/0.3113, allocations: 0.7436 MB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3113, allocations: 8.031 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.3116, allocations: 80.53 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.3124, allocations: 391.6 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.3124, allocations: 21.03 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.3125, allocations: 35.92 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.3131, allocations: 375.5 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3132, allocations: 3.984 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.3132, allocations: 12 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3132, allocations: 4 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.3137, allocations: 217.8 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.3151, allocations: 0.9297 MB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.3158, allocations: 232 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.316, allocations: 104.8 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3161, allocations: 0 / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/0.3164, allocations: 172.8 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.3164, allocations: 3.938 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009095/0.3173, allocations: 347.2 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3174, allocations: 81.11 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.3179, allocations: 449.8 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.318, allocations: 29.7 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3182, allocations: 240.6 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.3182, allocations: 79.33 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3183, allocations: 57.69 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.3185, allocations: 350.8 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.3188, allocations: 79.95 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.3191, allocations: 206.2 kB / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.3196, allocations: 226.5 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3196, allocations: 0 / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006536/0.3203, allocations: 307.7 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3203, allocations: 12.09 kB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3203, allocations: 7.984 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3203, allocations: 0 / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.3206, allocations: 51.91 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3206, allocations: 0 / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3208, allocations: 27.88 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.3208, allocations: 15.98 kB / 1.34 GB, free: 3.594 MB / 1.029 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.0002109/0.321, allocations: 178.3 kB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.3211, allocations: 47.66 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.3218, allocations: 297.2 kB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3218, allocations: 4 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3218, allocations: 3.938 kB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3218, allocations: 0 / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.3222, allocations: 309 kB / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3222, allocations: 4 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.3224, allocations: 39.97 kB / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3224, allocations: 0 / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.3224, allocations: 7.938 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3224, allocations: 4 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3224, allocations: 0 / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.3234, allocations: 438 kB / 1.341 GB, free: 2.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3235, allocations: 67.66 kB / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.3235, allocations: 11.98 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3237, allocations: 16 kB / 1.341 GB, free: 2.141 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.3238, allocations: 23.95 kB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.3238, allocations: 4 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000372/0.3242, allocations: 319.1 kB / 1.342 GB, free: 1.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3242, allocations: 0 / 1.342 GB, free: 1.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003422/0.3245, allocations: 83.72 kB / 1.342 GB, free: 1.723 MB / 1.029 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.001712/0.3262, allocations: 459.6 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000583/0.3268, allocations: 219.7 kB / 1.342 GB, free: 1.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3268, allocations: 0 / 1.342 GB, free: 1.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.3271, allocations: 110.3 kB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.3276, allocations: 103.7 kB / 1.342 GB, free: 1.035 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.3289, allocations: 0.7071 MB / 1.343 GB, free: 304 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.3291, allocations: 211.4 kB / 1.343 GB, free: 64 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.3293, allocations: 51.25 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.3294, allocations: 39.42 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.3294, allocations: 4 kB / 1.343 GB, free: 15.97 MB / 1.045 GB Notification: Performance of Templates: time 0.01077/0.3402, allocations: 5.36 MB / 1.349 GB, free: 10.74 MB / 1.045 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 -s gbode -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/jenkins1/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.61037428000418]