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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001143/0.001143, allocations: 90.75 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.008756/0.008756, allocations: 172.7 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003102, allocations: 12.09 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3048, allocations: 159.6 MB / 1.059 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001292/0.3062, allocations: 0.9946 MB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3076, allocations: 0.8844 MB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.3076, allocations: 0 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.3078, allocations: 19.91 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.175e-05/0.3078, allocations: 4 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3084, allocations: 131.7 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.3084, allocations: 27.91 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.375e-05/0.3085, allocations: 8 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.3085, allocations: 4 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.349e-05/0.3085, allocations: 15.92 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.825e-06/0.3086, allocations: 0 / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.3089, allocations: 227.6 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.309, allocations: 15.98 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.309, allocations: 41.58 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.3094, allocations: 211.8 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3094, allocations: 0 / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3094, allocations: 4 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.3094, allocations: 4 kB / 1.061 GB, free: 2.812 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.0003508/0.3098, allocations: 363.5 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3098, allocations: 8.031 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.3098, allocations: 4.844 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.31, allocations: 186.5 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.31, allocations: 4.375 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.31, allocations: 384 / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.3101, allocations: 50 kB / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.3101, allocations: 0 / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.3101, allocations: 4 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3101, allocations: 0 / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.774e-05/0.3102, allocations: 31.98 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.3104, allocations: 173.7 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.3104, allocations: 50.5 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.3105, allocations: 28.91 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.3105, allocations: 7.938 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.3106, allocations: 38.5 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3106, allocations: 0 / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001622/0.3107, allocations: 85.58 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.3108, allocations: 51.41 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3109, allocations: 145.7 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3109, allocations: 29.64 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.311, allocations: 88.14 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.311, allocations: 12.03 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.311, allocations: 13.72 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3111, allocations: 318.8 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.3112, allocations: 43.98 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.3112, allocations: 47.95 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.636e-05/0.3113, allocations: 92.83 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3113, allocations: 0 / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001396/0.3115, allocations: 129.5 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3115, allocations: 11.94 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3115, allocations: 11.98 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.3115, allocations: 3.938 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.3116, allocations: 4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.3116, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.3116, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.3116, allocations: 0 / 1.063 GB, free: 0.5938 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 7.297e-05/0.3117, allocations: 119.4 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3117, allocations: 11.84 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.3118, allocations: 73.16 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3118, allocations: 4 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3119, allocations: 3.984 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3119, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.312, allocations: 169.7 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.312, allocations: 0 / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.312, allocations: 7.938 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.312, allocations: 7.922 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.312, allocations: 0 / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.312, allocations: 0 / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.312, allocations: 0 / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.856e-05/0.3121, allocations: 101 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.3122, allocations: 84.98 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3122, allocations: 3.984 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.291e-05/0.3122, allocations: 4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.3122, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3122, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.3123, allocations: 106.1 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3123, allocations: 4.031 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002849/0.3126, allocations: 63.98 kB / 1.064 GB, free: 15.75 MB / 0.8262 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.0003233/0.3129, allocations: 163.3 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.3131, allocations: 75.84 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3131, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.3131, allocations: 27.98 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3134, allocations: 15.98 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.3137, allocations: 172.5 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3139, allocations: 0.6966 MB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.314, allocations: 4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.314, allocations: 7.438 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.314, allocations: 0 / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of Templates: time 0.005512/0.3195, allocations: 2.064 MB / 1.067 GB, free: 12.53 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/jenkins/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