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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008249/0.008249, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001932/0.001932, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2819, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002262/0.2842, allocations: 1.27 MB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2856, allocations: 0.8518 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.2856, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.2858, allocations: 11.92 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.874e-05/0.2859, allocations: 7.922 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.2865, allocations: 187.5 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.2866, allocations: 23.91 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.2866, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.2866, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.2867, allocations: 7.938 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.2867, allocations: 4 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.2871, allocations: 247.7 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.2871, allocations: 12 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.2872, allocations: 15.88 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.2875, allocations: 223.6 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2875, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2875, allocations: 4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2875, allocations: 0 / 1.09 GB, free: 15.09 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.0003512/0.2879, allocations: 379 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2879, allocations: 12.03 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.579e-05/0.288, allocations: 30.75 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.288, allocations: 4.891 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2881, allocations: 176.2 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2881, allocations: 12.12 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.2882, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.89e-05/0.2882, allocations: 45.69 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.2883, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.2883, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.2883, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.2883, allocations: 35.92 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.2885, allocations: 173.7 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.766e-05/0.2886, allocations: 62.44 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.2886, allocations: 32.91 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.2886, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.2887, allocations: 38.48 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2887, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.2888, allocations: 81.64 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.2889, allocations: 55.52 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.289, allocations: 144.2 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.289, allocations: 25.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.2891, allocations: 92.08 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.2891, allocations: 7.953 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.2891, allocations: 25.69 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.2892, allocations: 314.8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.2893, allocations: 43.97 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.2893, allocations: 39.98 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.2894, allocations: 104.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2894, allocations: 3.938 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001348/0.2896, allocations: 125.6 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2896, allocations: 8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2896, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2896, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.2897, allocations: 7.938 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.2897, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.2897, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.2897, allocations: 0 / 1.092 GB, free: 12.81 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 7.223e-05/0.2898, allocations: 129.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.2898, allocations: 3.953 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2899, allocations: 69.2 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2899, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2899, allocations: 4.094 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.29, allocations: 3.984 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.2901, allocations: 177.6 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2901, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.2901, allocations: 8.031 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2901, allocations: 3.938 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.2901, allocations: 3.938 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2901, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2901, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.2902, allocations: 101 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.2903, allocations: 81.06 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.2903, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.135e-05/0.2903, allocations: 4.031 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.2903, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.2903, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.47e-05/0.2904, allocations: 107.2 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2904, allocations: 3.938 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002764/0.2907, allocations: 63.86 kB / 1.093 GB, free: 11.95 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.0006499/0.2914, allocations: 0.6981 MB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.2915, allocations: 67.97 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2915, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.2915, allocations: 19.98 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.2918, allocations: 45.48 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2932, allocations: 1.513 MB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.2935, allocations: 0.6885 MB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.2935, allocations: 4 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.2935, allocations: 19.44 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2935, allocations: 0 / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.313, allocations: 3.398 MB / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.133/7.446, allocations: 14.12 kB / 1.099 GB, free: 5.566 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/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