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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001526, allocations: 103 kB / 16.37 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.00182, allocations: 189.1 kB / 17.3 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.56 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2539, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004026/0.258, allocations: 2.931 MB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.2602, allocations: 1.523 MB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.2604, allocations: 11.94 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.2607, allocations: 99.2 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.2611, allocations: 139 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.2619, allocations: 417.1 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.2624, allocations: 0.5266 MB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.2627, allocations: 214 kB / 1.025 GB, free: 4 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.2629, allocations: 203.1 kB / 1.025 GB, free: 3.801 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.2631, allocations: 199 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.2632, allocations: 44 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.2633, allocations: 99.95 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2635, allocations: 111.5 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.2636, allocations: 202.8 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.2642, allocations: 0.6072 MB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2642, allocations: 0 / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2642, allocations: 0 / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.2642, allocations: 0 / 1.026 GB, free: 2.547 MB / 0.795 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.001111/0.2653, allocations: 0.7905 MB / 1.027 GB, free: 1.703 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.2653, allocations: 16.03 kB / 1.027 GB, free: 1.688 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.747e-05/0.2654, allocations: 52.28 kB / 1.027 GB, free: 1.637 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.2661, allocations: 438.4 kB / 1.027 GB, free: 1.168 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.2661, allocations: 24.92 kB / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.2661, allocations: 31.88 kB / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/0.2667, allocations: 331.9 kB / 1.028 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2667, allocations: 0 / 1.028 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.2667, allocations: 12 kB / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2668, allocations: 4 kB / 1.028 GB, free: 0.75 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.2672, allocations: 218.1 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.2685, allocations: 1.093 MB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.2691, allocations: 246.8 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.2693, allocations: 104.8 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.2693, allocations: 11.98 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.2697, allocations: 159.2 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.2697, allocations: 0 / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.0007755/0.2705, allocations: 351.3 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.2705, allocations: 110.8 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.271, allocations: 453.8 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.271, allocations: 33.7 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.2712, allocations: 228.5 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.2712, allocations: 71 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-05/0.2713, allocations: 49.7 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2714, allocations: 358.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.2717, allocations: 83.95 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.2719, allocations: 160.7 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.2723, allocations: 218.8 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2724, allocations: 0 / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000556/0.2729, allocations: 304.7 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2729, allocations: 4 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2729, allocations: 0 / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.273, allocations: 4 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.2732, allocations: 59.89 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.2732, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.2734, allocations: 35.83 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.2734, allocations: 16 kB / 1.032 GB, free: 12.24 MB / 0.8106 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.0001643/0.2736, allocations: 175.8 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.2737, allocations: 43.47 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/0.2738, allocations: 47.84 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2738, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2738, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2738, allocations: 11.92 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.2741, allocations: 417.2 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2742, allocations: 7.938 kB / 1.032 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.2744, allocations: 27.98 kB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2744, allocations: 4 kB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.2744, allocations: 7.984 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2744, allocations: 4 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2744, allocations: 3.938 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.2752, allocations: 426.9 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.2754, allocations: 144.5 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.2754, allocations: 4 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2756, allocations: 11.98 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.2757, allocations: 19.97 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2757, allocations: 12 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003085/0.276, allocations: 319.1 kB / 1.033 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.1e-07/0.276, allocations: 4.062 kB / 1.033 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003057/0.2763, allocations: 71.84 kB / 1.033 GB, free: 10.42 MB / 0.8106 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * 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.0009153/0.2772, allocations: 431.9 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005122/0.2778, allocations: 217.9 kB / 1.034 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2778, allocations: 4.312 kB / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.278, allocations: 115.8 kB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.2785, allocations: 109.9 kB / 1.034 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2797, allocations: 0.6797 MB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.2801, allocations: 0.8148 MB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.2803, allocations: 55.19 kB / 1.036 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.924e-05/0.2804, allocations: 35.42 kB / 1.036 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.2804, allocations: 4 kB / 1.036 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of Templates: time 0.008775/0.2892, allocations: 4.744 MB / 1.04 GB, free: 3.43 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches