Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.1-maint.10.0.x/package.mo", uses=false) 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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008254/0.008254, allocations: 172.4 kB / 16.26 MB, free: 6.676 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003145, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5925, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001267/0.5938, allocations: 1 MB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.5951, allocations: 0.8582 MB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.5952, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.5953, allocations: 15.92 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.617e-05/0.5953, allocations: 7.984 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.5958, allocations: 139.7 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.856e-05/0.5959, allocations: 23.86 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.045e-05/0.5959, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.084e-05/0.596, allocations: 4 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.596, allocations: 11.94 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.253e-06/0.596, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.5964, allocations: 235.7 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.5965, allocations: 19.92 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.5965, allocations: 41.58 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.5968, allocations: 209.5 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5968, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5969, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.5969, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003371/0.5972, allocations: 379.3 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5972, allocations: 8.031 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.5973, allocations: 8.844 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.5974, allocations: 176.2 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.5974, allocations: 4.375 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.5974, allocations: 4.359 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/0.5975, allocations: 46.02 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.5975, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.5975, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.5975, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.5976, allocations: 31.97 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.5978, allocations: 173.7 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.65e-05/0.5978, allocations: 58.48 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.5979, allocations: 20.92 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.5979, allocations: 7.984 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.5979, allocations: 38.44 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.598, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.5981, allocations: 85.58 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.5981, allocations: 55.53 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.5983, allocations: 137.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.5983, allocations: 25.7 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.5983, allocations: 96.06 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.5984, allocations: 7.906 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.5984, allocations: 13.72 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.5985, allocations: 318.8 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.5985, allocations: 39.97 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.5986, allocations: 47.97 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.5987, allocations: 108.8 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5987, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001405/0.5988, allocations: 125.6 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5989, allocations: 11.88 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.5989, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.5989, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.5989, allocations: 7.938 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.599, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.599, allocations: 7.938 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.599, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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 6.975e-05/0.5991, allocations: 122.4 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.5991, allocations: 11.84 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.5992, allocations: 69.2 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5992, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.5992, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.5992, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.5993, allocations: 173.7 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5993, allocations: 4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.5994, allocations: 32 / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5994, allocations: 11.88 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.5994, allocations: 8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5994, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5994, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.432e-05/0.5995, allocations: 97.09 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.5995, allocations: 88.98 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.5996, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.164e-05/0.5996, allocations: 4.031 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.5996, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.5996, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.5997, allocations: 109.5 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5997, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002775/0.6, allocations: 63.98 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003349/0.6003, allocations: 163.2 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.6004, allocations: 71.91 kB / 1.028 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6004, allocations: 0 / 1.028 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/0.6005, allocations: 16 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.6007, allocations: 33.16 kB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.601, allocations: 180.6 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.6012, allocations: 0.6887 MB / 1.029 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.6013, allocations: 4 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.6013, allocations: 11.44 kB / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6013, allocations: 0 / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of Templates: time 0.004572/0.6059, allocations: 2.068 MB / 1.031 GB, free: 6.996 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches