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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 104 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.355/1.355, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.589/2.589, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 71.91 kB / 1.112 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7769/0.7791, allocations: 169.9 MB / 1.278 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002453/0.7816, allocations: 1.281 MB / 1.28 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.7831, allocations: 0.8938 MB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.7831, allocations: 0 / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.7833, allocations: 11.97 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.654e-05/0.7833, allocations: 7.938 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.7839, allocations: 198.8 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.784, allocations: 19.92 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.784, allocations: 0 / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.784, allocations: 7.938 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.7841, allocations: 7.984 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.7841, allocations: 0 / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.7845, allocations: 255.6 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.7846, allocations: 15.92 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.7846, allocations: 23.88 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.785, allocations: 217.2 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.785, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.785, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.785, allocations: 3.938 kB / 1.281 GB, free: 10.43 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.0004393/0.7854, allocations: 379 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.7855, allocations: 12.03 kB / 1.282 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.7855, allocations: 34.69 kB / 1.282 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.7855, allocations: 4.891 kB / 1.282 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.7857, allocations: 178.1 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.7857, allocations: 8.359 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.7857, allocations: 4.375 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.7858, allocations: 41.83 kB / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.7858, allocations: 0 / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.7858, allocations: 0 / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.7858, allocations: 0 / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.7859, allocations: 39.91 kB / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.7861, allocations: 173.7 kB / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.707e-05/0.7862, allocations: 54.56 kB / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.7862, allocations: 16.92 kB / 1.282 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.7863, allocations: 11.97 kB / 1.282 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.7863, allocations: 38.5 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7863, allocations: 0 / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.7865, allocations: 89.56 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.7865, allocations: 55.53 kB / 1.282 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.7866, allocations: 141.8 kB / 1.282 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.7867, allocations: 25.7 kB / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.7867, allocations: 88.12 kB / 1.283 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.7867, allocations: 11.95 kB / 1.283 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.7868, allocations: 13.72 kB / 1.283 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7869, allocations: 322.8 kB / 1.283 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.416e-05/0.7869, allocations: 39.98 kB / 1.283 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.666e-05/0.787, allocations: 43.98 kB / 1.283 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.7871, allocations: 96.81 kB / 1.283 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7871, allocations: 4 kB / 1.283 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001511/0.7873, allocations: 133.5 kB / 1.283 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7873, allocations: 4 kB / 1.283 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.7873, allocations: 0 / 1.283 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.7873, allocations: 0 / 1.283 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.7873, allocations: 4 kB / 1.283 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.7873, allocations: 8.047 kB / 1.283 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.7874, allocations: 7.891 kB / 1.283 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.7874, allocations: 8 kB / 1.283 GB, free: 8.145 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 8.652e-05/0.7875, allocations: 125.7 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.7875, allocations: 7.938 kB / 1.283 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.7876, allocations: 77.14 kB / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7876, allocations: 0 / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7876, allocations: 0 / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7876, allocations: 0 / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.7877, allocations: 173.6 kB / 1.284 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7877, allocations: 8.031 kB / 1.284 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.7878, allocations: 3.938 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.7878, allocations: 0 / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.7878, allocations: 4 kB / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7878, allocations: 0 / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7878, allocations: 0 / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.7879, allocations: 89.11 kB / 1.284 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.7879, allocations: 89 kB / 1.284 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.7879, allocations: 4.031 kB / 1.284 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.7879, allocations: 0 / 1.284 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.788, allocations: 11.92 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.788, allocations: 0 / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.298e-05/0.788, allocations: 101.9 kB / 1.284 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.788, allocations: 0 / 1.284 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002983/0.7883, allocations: 63.86 kB / 1.284 GB, free: 7.293 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.0006955/0.789, allocations: 0.7066 MB / 1.285 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.7892, allocations: 67.91 kB / 1.285 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7892, allocations: 0 / 1.285 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.7892, allocations: 20.03 kB / 1.285 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.7895, allocations: 31.91 kB / 1.285 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.791, allocations: 1.52 MB / 1.286 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.7913, allocations: 0.6885 MB / 1.287 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.7913, allocations: 4 kB / 1.287 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.7913, allocations: 17.62 kB / 1.287 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.7913, allocations: 0 / 1.287 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.8175, allocations: 3.418 MB / 1.29 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/8.359, allocations: 14.36 kB / 1.29 GB, free: 0.8906 MB / 0.9825 GB " [Timeout remaining time 292] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.033948624040931]