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.001032/0.001032, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.000917/0.000917, allocations: 181.3 kB / 24.09 MB, free: 424 kB / 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 0.9148/0.9148, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 1.702/1.702, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] 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 9.62e-07/9.62e-07, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.288e-06/1.025e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002806/0.002816, allocations: 2.842 MB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.004684, allocations: 1.651 MB / 0.7919 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.004899, allocations: 19.81 kB / 0.792 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.005185, allocations: 108 kB / 0.7921 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.005515, allocations: 188.6 kB / 0.7922 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.006088, allocations: 401.2 kB / 0.7926 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.006481, allocations: 0.5571 MB / 0.7932 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.006657, allocations: 133.7 kB / 0.7933 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.006955, allocations: 315.1 kB / 0.7936 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.0071, allocations: 147.5 kB / 0.7937 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.007139, allocations: 40 kB / 0.7938 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.007275, allocations: 107.9 kB / 0.7939 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.00735, allocations: 107.5 kB / 0.794 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.209e-05/0.007432, allocations: 124.3 kB / 0.7941 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.007778, allocations: 398.3 kB / 0.7945 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.007779, allocations: 1.656 kB / 0.7945 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00778, allocations: 0 / 0.7945 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.007783, allocations: 0 / 0.7945 GB, free: 5.082 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.0006634/0.008447, allocations: 0.8363 MB / 0.7953 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.008474, allocations: 8.656 kB / 0.7953 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.008623, allocations: 93.86 kB / 0.7954 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.008975, allocations: 404.4 kB / 0.7958 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.008996, allocations: 21.03 kB / 0.7958 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.009024, allocations: 28.38 kB / 0.7958 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.009278, allocations: 276.7 kB / 0.7961 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.009287, allocations: 0 / 0.7961 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.009303, allocations: 12.69 kB / 0.7961 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.009308, allocations: 4 kB / 0.7961 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.00941, allocations: 80.73 kB / 0.7962 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.01012, allocations: 1.036 MB / 0.7972 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.01032, allocations: 143.8 kB / 0.7973 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.01037, allocations: 48.19 kB / 0.7974 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.01039, allocations: 4.875 kB / 0.7974 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.0105, allocations: 111.8 kB / 0.7975 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.273e-06/0.01051, allocations: 0 / 0.7975 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0002649/0.01077, allocations: 204 kB / 0.7977 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.01079, allocations: 56.78 kB / 0.7977 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.01103, allocations: 430.4 kB / 0.7982 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.01105, allocations: 29.7 kB / 0.7982 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.01117, allocations: 287.2 kB / 0.7985 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.01121, allocations: 84.44 kB / 0.7985 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.01127, allocations: 63.27 kB / 0.7986 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.0114, allocations: 0.5351 MB / 0.7991 GB, free: 108 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.01144, allocations: 24.8 kB / 0.7991 GB, free: 84 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.01153, allocations: 124.4 kB / 0.7993 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.01167, allocations: 135.3 kB / 0.7994 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01167, allocations: 0 / 0.7994 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001949/0.01186, allocations: 203.4 kB / 0.7996 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.01187, allocations: 9.562 kB / 0.7996 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.01188, allocations: 0 / 0.7996 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.01189, allocations: 4 kB / 0.7996 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.012, allocations: 51.28 kB / 0.7996 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01201, allocations: 3.938 kB / 0.7996 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.01208, allocations: 31.81 kB / 0.7997 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.01209, allocations: 4 kB / 0.7997 GB, free: 15.47 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 9.258e-05/0.01218, allocations: 168.6 kB / 0.7998 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.01222, allocations: 51.72 kB / 0.7999 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.01243, allocations: 194.2 kB / 0.8001 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01244, allocations: 4 kB / 0.8001 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01244, allocations: 4.438 kB / 0.8001 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01244, allocations: 0.5625 kB / 0.8001 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.01264, allocations: 240.9 kB / 0.8003 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01264, allocations: 0.5625 kB / 0.8003 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-05/0.01273, allocations: 36.8 kB / 0.8004 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01273, allocations: 0 / 0.8004 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01275, allocations: 13.08 kB / 0.8004 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01275, allocations: 4 kB / 0.8004 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01275, allocations: 0 / 0.8004 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.01301, allocations: 267.8 kB / 0.8006 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.01308, allocations: 63.62 kB / 0.8007 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.0131, allocations: 8 kB / 0.8007 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.01316, allocations: 4.969 kB / 0.8007 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.0132, allocations: 27.89 kB / 0.8007 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.01321, allocations: 8.562 kB / 0.8007 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001321/0.01334, allocations: 275.6 kB / 0.801 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01334, allocations: 0 / 0.801 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002097/0.01355, allocations: 85.56 kB / 0.8011 GB, free: 13.99 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.000768/0.01432, allocations: 410.6 kB / 0.8015 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.01449, allocations: 119.4 kB / 0.8016 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.01449, allocations: 0 / 0.8016 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.01457, allocations: 74.2 kB / 0.8017 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.01485, allocations: 112.9 kB / 0.8018 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008192/0.01567, allocations: 0.6314 MB / 0.8024 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.697e-05/0.01573, allocations: 112.5 kB / 0.8025 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.01583, allocations: 55.23 kB / 0.8025 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.01599, allocations: 154.1 kB / 0.8027 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of SimCode: time 4.61e-07/0.01599, allocations: 0 / 0.8027 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.006869/0.02286, allocations: 5.283 MB / 0.8078 GB, free: 7.301 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.850921227131039]