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.006504/0.006504, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001312/0.001312, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.447/2.447, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2794, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.00259/0.2821, allocations: 1.282 MB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2835, allocations: 0.8504 MB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.2836, allocations: 0 / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.2838, allocations: 4 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.034e-05/0.2838, allocations: 7.938 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.2845, allocations: 187.5 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.739e-05/0.2846, allocations: 23.86 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.2846, allocations: 7.984 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.2846, allocations: 4 kB / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.2847, allocations: 11.98 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.2847, allocations: 0 / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.2851, allocations: 239.6 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.2852, allocations: 23.92 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.2852, allocations: 15.88 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.2856, allocations: 219.7 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2856, allocations: 0 / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2856, allocations: 0 / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.2856, allocations: 0 / 1.169 GB, free: 4.398 MB / 0.92 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.0004113/0.286, allocations: 386.8 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2861, allocations: 8.031 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.2861, allocations: 30.75 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.2862, allocations: 8.891 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2863, allocations: 180.3 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2863, allocations: 384 / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.2863, allocations: 384 / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.532e-05/0.2864, allocations: 49.81 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2864, allocations: 0 / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.2864, allocations: 0 / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2865, allocations: 4 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.2865, allocations: 27.98 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.2867, allocations: 185.6 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/0.2868, allocations: 54.56 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.2868, allocations: 24.91 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.2869, allocations: 4 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.2869, allocations: 34.5 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2869, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.2871, allocations: 85.73 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.2871, allocations: 55.41 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2872, allocations: 143.7 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2873, allocations: 25.7 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.2873, allocations: 92.12 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2873, allocations: 7.953 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.2874, allocations: 17.72 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2875, allocations: 318.8 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.2876, allocations: 47.98 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.2876, allocations: 39.97 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.2877, allocations: 100.8 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2877, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001534/0.2879, allocations: 133.5 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2879, allocations: 11.94 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2879, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2879, allocations: 96 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.643e-05/0.288, allocations: 7.984 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.288, allocations: 0 / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.288, allocations: 3.984 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.288, allocations: 8 kB / 1.171 GB, free: 2.113 MB / 0.92 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.466e-05/0.2881, allocations: 125.8 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.2881, allocations: 7.891 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.2883, allocations: 69.16 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2883, allocations: 4 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2883, allocations: 0 / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2883, allocations: 3.984 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.2884, allocations: 169.7 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2884, allocations: 4.031 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.2885, allocations: 7.938 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2885, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.2885, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2885, allocations: 3.984 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2885, allocations: 0 / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.605e-05/0.2886, allocations: 93.08 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.2886, allocations: 81.05 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2887, allocations: 4.031 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.301e-05/0.2887, allocations: 7.984 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-06/0.2887, allocations: 0 / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.2887, allocations: 0 / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.168e-05/0.2888, allocations: 109 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2888, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002988/0.2891, allocations: 63.86 kB / 1.172 GB, free: 1.27 MB / 0.92 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.000679/0.2898, allocations: 0.6982 MB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.2899, allocations: 63.97 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2899, allocations: 3.938 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.29, allocations: 27.97 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2902, allocations: 33.69 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2916, allocations: 1.516 MB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.2919, allocations: 0.6864 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.2919, allocations: 7.938 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.292, allocations: 23.42 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.292, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.3121, allocations: 3.393 MB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.638, allocations: 29.61 kB / 1.178 GB, free: 10.87 MB / 0.9356 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