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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.00497/0.00497, allocations: 98.05 kB / 15.73 MB, free: 6.012 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.001147/0.001147, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.554/2.554, allocations: 469.4 MB / 0.7422 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2931, allocations: 159.1 MB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002368/0.2955, allocations: 1.287 MB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2969, allocations: 0.8414 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.2969, allocations: 0 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.2971, allocations: 15.98 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.852e-05/0.2971, allocations: 7.922 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.2978, allocations: 190.6 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.2978, allocations: 23.91 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.2979, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.277e-05/0.2979, allocations: 4 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.298, allocations: 15.92 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.975e-06/0.298, allocations: 0 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.2984, allocations: 247.6 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.2984, allocations: 11.98 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.2985, allocations: 23.88 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.2988, allocations: 211.4 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2989, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2989, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2989, allocations: 0 / 1.223 GB, free: 11.69 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.0004076/0.2993, allocations: 383 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2993, allocations: 8.031 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.2994, allocations: 38.69 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.2994, allocations: 12.83 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2995, allocations: 172.3 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.2995, allocations: 4.375 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2996, allocations: 4.375 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.716e-05/0.2997, allocations: 45.81 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.2997, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2997, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2997, allocations: 3.984 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.2998, allocations: 31.97 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.2999, allocations: 173.7 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.3, allocations: 62.42 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.3, allocations: 16.92 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.3001, allocations: 11.98 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3001, allocations: 38.5 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3001, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001821/0.3003, allocations: 85.62 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.3004, allocations: 63.47 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3005, allocations: 132.8 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3005, allocations: 29.7 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.3005, allocations: 84.14 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.3006, allocations: 11.94 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.3006, allocations: 21.7 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3007, allocations: 318.8 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/0.3008, allocations: 39.98 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.3008, allocations: 47.98 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.815e-05/0.3009, allocations: 92.81 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3009, allocations: 0 / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001488/0.3011, allocations: 133.5 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3011, allocations: 4 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3011, allocations: 0 / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3011, allocations: 0 / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.3012, allocations: 4 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3012, allocations: 0 / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.3012, allocations: 11.92 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.3012, allocations: 4 kB / 1.225 GB, free: 9.406 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.845e-05/0.3013, allocations: 114.4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.3013, allocations: 11.89 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3015, allocations: 73.2 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3015, allocations: 4 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3015, allocations: 0 / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3015, allocations: 3.938 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3016, allocations: 177.7 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3016, allocations: 7.969 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.3016, allocations: 3.938 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3017, allocations: 4 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3017, allocations: 0 / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3017, allocations: 3.938 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3017, allocations: 0 / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.518e-05/0.3018, allocations: 89.06 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.3018, allocations: 89 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3018, allocations: 8.031 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.3019, allocations: 0 / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.3019, allocations: 0 / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3019, allocations: 3.984 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.3019, allocations: 99.27 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.302, allocations: 4 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002889/0.3022, allocations: 63.86 kB / 1.225 GB, free: 8.555 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.0006629/0.3029, allocations: 0.7021 MB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.3031, allocations: 71.97 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3031, allocations: 0 / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.3031, allocations: 23.95 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3034, allocations: 36.81 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3047, allocations: 1.514 MB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3049, allocations: 0.6924 MB / 1.228 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.305, allocations: 8.219 kB / 1.228 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.305, allocations: 11.44 kB / 1.228 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.305, allocations: 0 / 1.228 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.3251, allocations: 3.415 MB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.513, allocations: 7.453 kB / 1.232 GB, free: 2.16 MB / 0.9825 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