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.002246/0.002246, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002931/0.002931, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.629/1.629, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.753/2.753, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.563e-06/1.563e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.356e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005453/0.005487, allocations: 2.797 MB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004074/0.009561, allocations: 1.624 MB / 0.7907 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.01007, allocations: 15.88 kB / 0.7907 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.01067, allocations: 111.6 kB / 0.7908 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008363/0.0115, allocations: 193.4 kB / 0.791 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.01278, allocations: 401.7 kB / 0.7914 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000982/0.01376, allocations: 0.5576 MB / 0.7919 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.01415, allocations: 133.8 kB / 0.792 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007174/0.01487, allocations: 295.9 kB / 0.7923 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.01523, allocations: 162.2 kB / 0.7925 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.01533, allocations: 44 kB / 0.7925 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.01563, allocations: 111.8 kB / 0.7926 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.0158, allocations: 111.5 kB / 0.7927 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.01602, allocations: 123.6 kB / 0.7929 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.01708, allocations: 0.6307 MB / 0.7935 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01709, allocations: 1.469 kB / 0.7935 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.392e-06/0.01709, allocations: 0 / 0.7935 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.01711, allocations: 0 / 0.7935 GB, free: 5.551 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.001856/0.01897, allocations: 0.7454 MB / 0.7942 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.01901, allocations: 8.719 kB / 0.7942 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004105/0.01942, allocations: 93.59 kB / 0.7943 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.02041, allocations: 408.5 kB / 0.7947 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.02046, allocations: 22.84 kB / 0.7947 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.02053, allocations: 32.38 kB / 0.7947 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.0213, allocations: 379.7 kB / 0.7951 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.02131, allocations: 4 kB / 0.7951 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.02135, allocations: 9.531 kB / 0.7951 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.02137, allocations: 8 kB / 0.7951 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.02194, allocations: 210.3 kB / 0.7953 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.02375, allocations: 0.9476 MB / 0.7962 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.02448, allocations: 229.5 kB / 0.7965 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.02475, allocations: 104.8 kB / 0.7966 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.02479, allocations: 4 kB / 0.7966 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004038/0.02519, allocations: 161.1 kB / 0.7967 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 2.605e-06/0.0252, allocations: 0.5312 kB / 0.7967 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.00108/0.02628, allocations: 366.6 kB / 0.7971 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.02637, allocations: 81.11 kB / 0.7971 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.02749, allocations: 449.8 kB / 0.7976 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.02752, allocations: 25.7 kB / 0.7976 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.02778, allocations: 248.5 kB / 0.7978 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.02786, allocations: 64.53 kB / 0.7979 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.02798, allocations: 61.64 kB / 0.798 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002282/0.02821, allocations: 354.7 kB / 0.7983 GB, free: 416 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.02846, allocations: 85.48 kB / 0.7984 GB, free: 332 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.02882, allocations: 203 kB / 0.7986 GB, free: 92 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.02938, allocations: 223.4 kB / 0.7988 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02938, allocations: 0 / 0.7988 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007344/0.03012, allocations: 317.8 kB / 0.7991 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.03014, allocations: 10.19 kB / 0.7991 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.03015, allocations: 0 / 0.7991 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.03018, allocations: 7.938 kB / 0.7991 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.03043, allocations: 47.91 kB / 0.7992 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.03045, allocations: 7.984 kB / 0.7992 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.03066, allocations: 24.92 kB / 0.7992 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.03068, allocations: 7.984 kB / 0.7992 GB, free: 15.44 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 0.0002436/0.03093, allocations: 179.1 kB / 0.7994 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.03103, allocations: 51.72 kB / 0.7994 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/0.03177, allocations: 295 kB / 0.7997 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.03178, allocations: 7.938 kB / 0.7997 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.03178, allocations: 1.031 kB / 0.7997 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.03178, allocations: 0 / 0.7997 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.03223, allocations: 305.1 kB / 0.8 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.03224, allocations: 1.094 kB / 0.8 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.03246, allocations: 39.97 kB / 0.8 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.03247, allocations: 4.656 kB / 0.8 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.03249, allocations: 4 kB / 0.8 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.0325, allocations: 4.578 kB / 0.8 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.0325, allocations: 7.938 kB / 0.8001 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.03352, allocations: 448.2 kB / 0.8005 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.03367, allocations: 67.66 kB / 0.8005 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.03373, allocations: 4 kB / 0.8005 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.03389, allocations: 15.98 kB / 0.8006 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.03399, allocations: 23.91 kB / 0.8006 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.03402, allocations: 7.984 kB / 0.8006 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004267/0.03445, allocations: 312.7 kB / 0.8009 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03445, allocations: 4 kB / 0.8009 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003852/0.03483, allocations: 75.83 kB / 0.801 GB, free: 13.57 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.002103/0.03694, allocations: 473.5 kB / 0.8014 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006326/0.03757, allocations: 215.9 kB / 0.8016 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03757, allocations: 4.062 kB / 0.8016 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.03787, allocations: 107.8 kB / 0.8017 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/0.03849, allocations: 107.4 kB / 0.8018 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.04007, allocations: 0.7001 MB / 0.8025 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.04035, allocations: 227 kB / 0.8027 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000214/0.04056, allocations: 47.27 kB / 0.8028 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.04068, allocations: 36.48 kB / 0.8028 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of SimCode: time 1.312e-06/0.04068, allocations: 4 kB / 0.8028 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of Templates: time 0.01372/0.0544, allocations: 4.942 MB / 0.8076 GB, free: 7.008 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.345365321962163]