Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006271/0.006271, allocations: 99.16 kB / 15.73 MB, free: 6.492 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.001577/0.001577, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.89 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.295, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002304/0.2973, allocations: 1.272 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2987, allocations: 0.857 MB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2988, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.299, allocations: 11.92 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.299, allocations: 4 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.2996, allocations: 194.5 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.2997, allocations: 15.98 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.029e-05/0.2997, allocations: 4 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.2997, allocations: 7.938 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.2998, allocations: 11.97 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.2998, allocations: 0 / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.3002, allocations: 243.6 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.3003, allocations: 19.92 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.3003, allocations: 15.86 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.3006, allocations: 219.4 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3007, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3007, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3007, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 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.0003996/0.3011, allocations: 383 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3011, allocations: 8.031 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.3012, allocations: 30.75 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.3012, allocations: 8.891 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3013, allocations: 174.1 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3013, allocations: 4.312 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.3014, allocations: 8.359 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3015, allocations: 53.75 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3015, allocations: 4 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.3015, allocations: 0 / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3015, allocations: 0 / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.275e-05/0.3016, allocations: 31.97 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.3017, allocations: 173.7 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.3018, allocations: 54.55 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.3019, allocations: 24.91 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.3019, allocations: 7.984 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3019, allocations: 38.44 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3019, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001701/0.3021, allocations: 89.62 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.3022, allocations: 51.41 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3023, allocations: 138 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3023, allocations: 33.64 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3024, allocations: 84.14 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.3024, allocations: 7.938 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.3024, allocations: 21.72 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3026, allocations: 318.8 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.3026, allocations: 39.98 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.3027, allocations: 43.92 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.3028, allocations: 100.8 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3028, allocations: 0 / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/0.303, allocations: 137.5 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.303, allocations: 6.188 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.303, allocations: 0 / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.303, allocations: 0 / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.779e-05/0.3031, allocations: 4 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3031, allocations: 3.984 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.3031, allocations: 3.938 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3031, allocations: 8 kB / 1.225 GB, free: 9.074 MB / 0.9825 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.927e-05/0.3032, allocations: 117.8 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.3032, allocations: 11.89 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.3033, allocations: 73.2 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3033, allocations: 3.938 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3033, allocations: 0 / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3033, allocations: 0 / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.3035, allocations: 173.7 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3035, allocations: 0 / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.3035, allocations: 7.938 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3035, allocations: 4.031 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.3035, allocations: 0 / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3035, allocations: 0 / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3035, allocations: 4 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.3036, allocations: 97 kB / 1.225 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.3037, allocations: 85 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3037, allocations: 4 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.3037, allocations: 32 / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.3038, allocations: 4 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.3038, allocations: 3.984 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.3038, allocations: 106.2 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3038, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002758/0.3041, allocations: 63.86 kB / 1.226 GB, free: 8.227 MB / 0.9825 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.000631/0.3048, allocations: 0.7026 MB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.3049, allocations: 71.95 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3049, allocations: 0 / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.3049, allocations: 20 kB / 1.226 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.3052, allocations: 31.94 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3066, allocations: 1.528 MB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3069, allocations: 0.6885 MB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.3069, allocations: 0 / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.3069, allocations: 21.62 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3069, allocations: 0 / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.3309, allocations: 3.394 MB / 1.232 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.179, allocations: 17.81 kB / 1.232 GB, free: 1.84 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches