Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008693/0.008693, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001934/0.001934, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 66.67 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2733, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002248/0.2756, allocations: 1.267 MB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.277, allocations: 0.8518 MB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.277, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.2772, allocations: 15.92 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.806e-05/0.2772, allocations: 7.984 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.2778, allocations: 179.5 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.2779, allocations: 23.91 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.2779, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.278, allocations: 8 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.278, allocations: 11.92 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.278, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.2785, allocations: 243.6 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.2785, allocations: 15.98 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.2786, allocations: 15.88 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.2789, allocations: 215.5 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2789, allocations: 4 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2789, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2789, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 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.0003991/0.2793, allocations: 379.2 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2794, allocations: 12.03 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.2794, allocations: 8.844 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2795, allocations: 168.4 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2796, allocations: 4.375 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.2796, allocations: 3.938 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.2797, allocations: 45.69 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2797, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2797, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2797, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.2798, allocations: 39.86 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.28, allocations: 185.5 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.007e-05/0.2801, allocations: 58.48 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.2801, allocations: 24.92 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.2801, allocations: 7.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.2802, allocations: 38.55 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2802, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001744/0.2804, allocations: 81.62 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.2804, allocations: 55.39 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2805, allocations: 139.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2805, allocations: 25.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.2806, allocations: 88.14 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.2806, allocations: 3.906 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.2807, allocations: 29.81 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2808, allocations: 318.8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.137e-05/0.2808, allocations: 39.97 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.2809, allocations: 43.98 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.973e-05/0.281, allocations: 96.81 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.281, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001447/0.2811, allocations: 129.5 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2812, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2812, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2812, allocations: 8 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.2813, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.2813, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.2813, allocations: 7.844 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.2813, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 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 8.406e-05/0.2814, allocations: 121.8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.2814, allocations: 4 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2815, allocations: 73.14 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2815, allocations: 32 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2815, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2816, allocations: 4 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.2817, allocations: 185.5 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2817, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.2817, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2817, allocations: 3.938 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.2818, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2818, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2818, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.2819, allocations: 101 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.2819, allocations: 81.02 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2819, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.282, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.282, allocations: 7.938 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.282, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.282, allocations: 114.3 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.282, allocations: 0 / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002793/0.2823, allocations: 64.02 kB / 1.093 GB, free: 11.54 MB / 0.8575 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.0003661/0.2827, allocations: 163.2 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.2829, allocations: 68.05 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2829, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.2829, allocations: 20 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2832, allocations: 41.53 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.2835, allocations: 165.3 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.2838, allocations: 0.6846 MB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.2839, allocations: 4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.2839, allocations: 11.44 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2839, allocations: 4 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.005176/0.2891, allocations: 2.122 MB / 1.097 GB, free: 8.262 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches