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.001629/0.001629, allocations: 108 kB / 15.61 MB, free: 152 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.001876/0.001876, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.507/2.507, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.05 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5046, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002147/0.5068, allocations: 1.273 MB / 1.019 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.508, allocations: 0.85 MB / 1.02 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.5081, allocations: 0 / 1.02 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.5082, allocations: 11.98 kB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.309e-05/0.5083, allocations: 3.938 kB / 1.02 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.5088, allocations: 187.1 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.5088, allocations: 19.92 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.5089, allocations: 8 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.5089, allocations: 4 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.509, allocations: 15.91 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.509, allocations: 4 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.5093, allocations: 235.6 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.5094, allocations: 8.047 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.5094, allocations: 19.88 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.5097, allocations: 217.8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5098, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5098, allocations: 7.938 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.5098, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 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.0003377/0.5101, allocations: 383.2 kB / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5102, allocations: 8.031 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.5102, allocations: 34.75 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.5102, allocations: 0.9375 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.5103, allocations: 176.2 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.5103, allocations: 384 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.5103, allocations: 8.359 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.864e-05/0.5104, allocations: 49.81 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.5105, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.5105, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.5105, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.5105, allocations: 31.98 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.5107, allocations: 185.5 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/0.5108, allocations: 50.56 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.5108, allocations: 24.91 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.5108, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.5109, allocations: 46.48 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5109, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001409/0.511, allocations: 81.53 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.5111, allocations: 63.39 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.5112, allocations: 135.1 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.5112, allocations: 29.83 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.5112, allocations: 88.14 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.5112, allocations: 11.84 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.5113, allocations: 17.7 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.5114, allocations: 318.8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.122e-05/0.5114, allocations: 43.97 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.5115, allocations: 39.98 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.5116, allocations: 96.81 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5116, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001348/0.5117, allocations: 133.4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5117, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5118, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5118, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.5118, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5118, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.5119, allocations: 7.906 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5119, allocations: 3.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 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 6.755e-05/0.5119, allocations: 121.8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.512, allocations: 7.938 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.5121, allocations: 81.08 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5121, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5121, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5121, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.5122, allocations: 173.7 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5122, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.5122, allocations: 3.938 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5122, allocations: 0 / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.5122, allocations: 11.97 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5123, allocations: 4 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5123, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.516e-05/0.5123, allocations: 89.02 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.5124, allocations: 88.95 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.5124, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.294e-05/0.5124, allocations: 4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.5124, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.5124, allocations: 7.969 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.5125, allocations: 104 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5125, allocations: 4 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002698/0.5128, allocations: 63.98 kB / 1.023 GB, free: 12.62 MB / 0.7794 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.0005416/0.5133, allocations: 0.6944 MB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.5135, allocations: 71.91 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5135, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.5135, allocations: 15.98 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.5138, allocations: 41.98 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.515, allocations: 1.506 MB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.5152, allocations: 0.6885 MB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.5152, allocations: 7.938 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.5152, allocations: 20.98 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5153, allocations: 0 / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.5337, allocations: 3.364 MB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/7.658, allocations: 24.69 kB / 1.029 GB, free: 6.254 MB / 0.7794 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