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.005827/0.005827, allocations: 100.1 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.001324/0.001325, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.116/2.116, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8013/0.8028, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002172/0.805, allocations: 1.279 MB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.8063, allocations: 0.845 MB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.8064, allocations: 0 / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.8065, allocations: 14.59 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.923e-05/0.8066, allocations: 7.141 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.8072, allocations: 185.5 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.8073, allocations: 27.38 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.8073, allocations: 2.047 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.088e-05/0.8074, allocations: 4.969 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.8074, allocations: 8.672 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.8074, allocations: 0.9375 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.8079, allocations: 248.6 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.808, allocations: 14.14 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.808, allocations: 18.52 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.8084, allocations: 211.7 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8085, allocations: 1.75 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8085, allocations: 0 / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8085, allocations: 4 kB / 1.09 GB, free: 3.57 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.0003245/0.8088, allocations: 381.8 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8089, allocations: 10.12 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.8089, allocations: 31.55 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.8089, allocations: 10.97 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.809, allocations: 174 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.809, allocations: 5.969 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.809, allocations: 5.062 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.8091, allocations: 45.09 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8092, allocations: 0 / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.8092, allocations: 0 / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.8092, allocations: 1.672 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.8092, allocations: 35.22 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.8094, allocations: 177.6 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/0.8095, allocations: 59.41 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.8095, allocations: 25.19 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.8096, allocations: 4.406 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.8096, allocations: 36.22 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8096, allocations: 1.062 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.8098, allocations: 75.33 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.8098, allocations: 61.19 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.8099, allocations: 135.8 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.8099, allocations: 26.64 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.81, allocations: 99.81 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.81, allocations: 9.172 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.81, allocations: 17.19 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.8101, allocations: 319.1 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.8102, allocations: 43.75 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.8102, allocations: 39.16 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.8104, allocations: 95.19 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8104, allocations: 4.656 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001607/0.8105, allocations: 134.9 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.8106, allocations: 5.906 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8106, allocations: 3.938 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.8106, allocations: 0 / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.8107, allocations: 4.297 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8107, allocations: 80 / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.8107, allocations: 5.703 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.8107, allocations: 5.516 kB / 1.092 GB, free: 1.793 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 5.552e-05/0.8108, allocations: 121.9 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.8108, allocations: 11 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.8109, allocations: 72.88 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8109, allocations: 0 / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.8109, allocations: 1.562 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.8109, allocations: 0.75 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.782e-05/0.811, allocations: 172.4 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.811, allocations: 5.188 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.761e-05/0.811, allocations: 7.5 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.811, allocations: 0 / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.8111, allocations: 9.359 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8111, allocations: 4.031 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8111, allocations: 1.516 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.063e-05/0.8112, allocations: 88.72 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.8112, allocations: 83.58 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.8112, allocations: 0.7969 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.8112, allocations: 5.031 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.8112, allocations: 1.797 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.8113, allocations: 4.969 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.8113, allocations: 104.3 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8113, allocations: 0 / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003439/0.8117, allocations: 66.97 kB / 1.093 GB, free: 1.133 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.0005659/0.8122, allocations: 0.7061 MB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.8124, allocations: 66.47 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.8124, allocations: 1.031 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.8125, allocations: 23.53 kB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.8127, allocations: 29.11 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.8143, allocations: 1.517 MB / 1.095 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.8146, allocations: 0.6912 MB / 1.096 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.8146, allocations: 12.38 kB / 1.096 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.8147, allocations: 14 kB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8147, allocations: 0.8125 kB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.8363, allocations: 3.39 MB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/8.208, allocations: 12.62 kB / 1.099 GB, free: 14.08 MB / 0.8731 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