Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001305/0.001305, 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.001318/0.001319, allocations: 195.5 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.56 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2566, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002287/0.2589, allocations: 1.271 MB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2602, allocations: 0.8548 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.2603, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.2604, allocations: 15.92 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.464e-05/0.2605, allocations: 7.922 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.2611, allocations: 188.9 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.2611, allocations: 15.92 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.2611, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.2612, allocations: 15.92 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.2612, allocations: 4 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.2612, allocations: 0 / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.2616, allocations: 251.6 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.2617, allocations: 15.92 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.2617, allocations: 11.94 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.262, allocations: 223.7 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.262, allocations: 0 / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.262, allocations: 0 / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.262, allocations: 0 / 1.066 GB, free: 11.61 MB / 0.8262 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.0003438/0.2624, allocations: 375.2 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2624, allocations: 8.031 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.2625, allocations: 30.75 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.2625, allocations: 12.84 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2626, allocations: 176.4 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.2626, allocations: 384 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.2626, allocations: 384 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.2627, allocations: 41.83 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2627, allocations: 3.938 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.2628, allocations: 11.91 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2628, allocations: 4 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.2628, allocations: 31.98 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.263, allocations: 185.5 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.263, allocations: 54.56 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.2631, allocations: 16.92 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.2631, allocations: 7.984 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.2631, allocations: 38.5 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2632, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001508/0.2633, allocations: 85.61 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2633, allocations: 55.41 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/0.2634, allocations: 135.1 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.2635, allocations: 25.7 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.2635, allocations: 100.1 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.2635, allocations: 3.906 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.2636, allocations: 17.72 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.2637, allocations: 323 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.2637, allocations: 43.98 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.2638, allocations: 39.97 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.151e-05/0.2638, allocations: 100.7 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2639, allocations: 0 / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001312/0.264, allocations: 125.6 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.264, allocations: 8 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.264, allocations: 0 / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.264, allocations: 0 / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.2641, allocations: 7.984 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2641, allocations: 4 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.2641, allocations: 7.844 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2641, allocations: 0 / 1.068 GB, free: 9.34 MB / 0.8262 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.736e-05/0.2642, allocations: 117.8 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.2642, allocations: 11.83 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2643, allocations: 77.16 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2644, allocations: 4 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2644, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2644, allocations: 32 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.768e-05/0.2645, allocations: 173.7 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2645, allocations: 3.938 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.2645, allocations: 7.938 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2645, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-06/0.2645, allocations: 4 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2645, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2645, allocations: 3.984 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.29e-05/0.2646, allocations: 93.06 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.2647, allocations: 88.95 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.2647, allocations: 0 / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.2647, allocations: 8 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.2647, allocations: 3.984 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2647, allocations: 0 / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.2648, allocations: 99.27 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2648, allocations: 0 / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002667/0.2651, allocations: 63.97 kB / 1.069 GB, free: 8.492 MB / 0.8262 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.000532/0.2656, allocations: 0.6988 MB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.2657, allocations: 71.91 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2657, allocations: 4.031 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.2658, allocations: 16 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.266, allocations: 31.97 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.2672, allocations: 1.507 MB / 1.071 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.2674, allocations: 0.6922 MB / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.2674, allocations: 12.22 kB / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.2675, allocations: 23.38 kB / 1.072 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2675, allocations: 0 / 1.072 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8769/1.144, allocations: 3.374 MB / 1.075 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.867, allocations: 6.578 kB / 1.075 GB, free: 2.129 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches