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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_10_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_10_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.00454/0.00454, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001227/0.001227, allocations: 201.7 kB / 16.68 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.589/2.589, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 63.89 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.315, allocations: 151.6 MB / 1.166 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002261/0.3173, allocations: 1.275 MB / 1.167 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.3187, allocations: 0.8504 MB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.3187, allocations: 0 / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3189, allocations: 11.94 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.387e-05/0.319, allocations: 11.98 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.3195, allocations: 179.5 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.3196, allocations: 19.92 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.3196, allocations: 4 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.3197, allocations: 11.97 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.3197, allocations: 8 kB / 1.169 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.3197, allocations: 4 kB / 1.169 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.3201, allocations: 239.6 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.3202, allocations: 19.91 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.3202, allocations: 15.88 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.3205, allocations: 219.7 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3206, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.419e-06/0.3206, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3206, allocations: 3.938 kB / 1.169 GB, free: 4.52 MB / 0.92 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.0004031/0.321, allocations: 379 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.321, allocations: 8.031 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.3211, allocations: 34.75 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.3211, allocations: 16.88 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3212, allocations: 174 kB / 1.17 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.3213, allocations: 4.375 kB / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3213, allocations: 384 / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.3214, allocations: 49.75 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3214, allocations: 0 / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.3214, allocations: 4 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3214, allocations: 0 / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.518e-05/0.3215, allocations: 27.98 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.3217, allocations: 185.6 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.3217, allocations: 54.56 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.3218, allocations: 20.91 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.3218, allocations: 4 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3218, allocations: 46.42 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3219, allocations: 4 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000159/0.322, allocations: 77.67 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.3221, allocations: 55.34 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3222, allocations: 141.8 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3222, allocations: 25.7 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.3223, allocations: 92.14 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.3223, allocations: 7.891 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.3223, allocations: 21.7 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3225, allocations: 319 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.3225, allocations: 43.98 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.3226, allocations: 43.91 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3227, allocations: 104.8 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3227, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000147/0.3229, allocations: 133.5 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3229, allocations: 8 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3229, allocations: 80 / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3229, allocations: 0 / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.323, allocations: 4 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.323, allocations: 7.984 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.323, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.323, allocations: 4 kB / 1.171 GB, free: 2.23 MB / 0.92 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 9.001e-05/0.3231, allocations: 121.8 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.3231, allocations: 7.891 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.3232, allocations: 81.14 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3232, allocations: 0 / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3232, allocations: 0 / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3233, allocations: 4.031 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3234, allocations: 165.7 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3234, allocations: 0 / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.3234, allocations: 11.92 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3234, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.3234, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3234, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.3235, allocations: 8 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.3236, allocations: 97.02 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.3236, allocations: 85.03 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.3236, allocations: 4 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.139e-05/0.3236, allocations: 0 / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3237, allocations: 4 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.3237, allocations: 0 / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.707e-05/0.3238, allocations: 105.9 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3238, allocations: 0 / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002604/0.324, allocations: 59.88 kB / 1.172 GB, free: 1.387 MB / 0.92 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.0006348/0.3247, allocations: 0.7098 MB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.3248, allocations: 67.91 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3248, allocations: 4.031 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.3248, allocations: 19.98 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.3251, allocations: 21.61 kB / 1.173 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3265, allocations: 1.521 MB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3269, allocations: 0.6924 MB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.3269, allocations: 0 / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.3269, allocations: 25.45 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of SimCode: time 4.5e-07/0.3269, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.3506, allocations: 3.393 MB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.931, allocations: 20.23 kB / 1.178 GB, free: 11 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/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