Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001393/0.001393, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 200 kB / 16.79 MB, free: 6.828 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 66.59 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3681, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.003485/0.3717, allocations: 1.347 MB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.3737, allocations: 0.8843 MB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.3737, allocations: 0 / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.374, allocations: 15.98 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.3741, allocations: 4 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.3747, allocations: 135.7 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.3748, allocations: 23.92 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.3749, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.3749, allocations: 4 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.375, allocations: 19.91 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.375, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.3755, allocations: 227.6 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.3756, allocations: 15.98 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.3756, allocations: 19.88 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.376, allocations: 147.9 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.376, allocations: 0 / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.376, allocations: 3.938 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.376, allocations: 4 kB / 1.056 GB, free: 5.41 MB / 0.8106 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.0005068/0.3765, allocations: 379.3 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3766, allocations: 15.97 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.3766, allocations: 0.9375 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3768, allocations: 176.2 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3768, allocations: 384 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.3768, allocations: 4.375 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.377, allocations: 53.94 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.377, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.377, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.377, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.899e-05/0.3771, allocations: 31.98 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.3774, allocations: 173.7 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.3775, allocations: 50.56 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.3775, allocations: 24.91 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.998e-05/0.3776, allocations: 7.938 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3776, allocations: 42.48 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.3776, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002192/0.3779, allocations: 77.72 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3779, allocations: 63.39 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3781, allocations: 138.9 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3781, allocations: 25.7 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.3782, allocations: 92.05 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.3782, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.3782, allocations: 25.69 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3784, allocations: 314.8 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.3785, allocations: 51.84 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.3785, allocations: 47.98 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3787, allocations: 100.8 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3787, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002073/0.3789, allocations: 125.6 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3789, allocations: 7.938 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.379, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.379, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.379, allocations: 8 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3791, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/0.3791, allocations: 7.906 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3791, allocations: 4.094 kB / 1.057 GB, free: 3.18 MB / 0.8106 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 0.000107/0.3792, allocations: 121.8 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.3793, allocations: 11.92 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.3794, allocations: 73.2 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3794, allocations: 3.938 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3794, allocations: 0 / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3794, allocations: 0 / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.3796, allocations: 177.7 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3796, allocations: 4.031 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.3797, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3797, allocations: 7.938 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3797, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3797, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3797, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.3798, allocations: 96.95 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.3799, allocations: 92.89 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3799, allocations: 4.031 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.3799, allocations: 0 / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.38, allocations: 0 / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.38, allocations: 4 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.791e-05/0.3801, allocations: 110.3 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3801, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000453/0.3805, allocations: 59.98 kB / 1.058 GB, free: 2.328 MB / 0.8106 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.0004918/0.381, allocations: 167.1 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3812, allocations: 75.89 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3812, allocations: 0 / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.3813, allocations: 12 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3817, allocations: 28.03 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.3822, allocations: 192.9 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3825, allocations: 0.6926 MB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.3825, allocations: 7.438 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3825, allocations: 0 / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of Templates: time 0.004638/0.3872, allocations: 1.699 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches