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.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.001667/0.001667, allocations: 113 kB / 18.94 MB, free: 2.957 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.00202/0.00202, allocations: 213.7 kB / 22.25 MB, free: 5.121 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.202/3.202, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.00201/0.00201, allocations: 65.02 kB / 1.177 GB, free: 17.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002363/0.3208, allocations: 1.3 MB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3223, allocations: 0.9038 MB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.3223, allocations: 0 / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3225, allocations: 15.97 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.855e-05/0.3225, allocations: 7.938 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.3231, allocations: 194.5 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.686e-05/0.3232, allocations: 15.94 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.3232, allocations: 7.984 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.3233, allocations: 7.938 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.3233, allocations: 8 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.3233, allocations: 0 / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.3238, allocations: 279.5 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.3238, allocations: 15.94 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.3239, allocations: 11.88 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.3242, allocations: 223.7 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3242, allocations: 7.938 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3242, allocations: 3.938 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3242, allocations: 0 / 1.356 GB, free: 5.477 MB / 1.045 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.0003995/0.3246, allocations: 305.8 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3246, allocations: 8.031 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.3247, allocations: 30.75 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.3247, allocations: 4.938 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3248, allocations: 122.4 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.3248, allocations: 4.125 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3248, allocations: 12 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3249, allocations: 41.69 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3249, allocations: 0 / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-06/0.325, allocations: 0 / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.325, allocations: 0 / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.743e-05/0.325, allocations: 35.92 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.3252, allocations: 156.8 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.3253, allocations: 54.5 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.3253, allocations: 24.91 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.3253, allocations: 4 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3254, allocations: 38.55 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3254, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001664/0.3255, allocations: 81.58 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3256, allocations: 59.39 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.3257, allocations: 144.3 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3257, allocations: 25.7 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.3258, allocations: 92.09 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.3258, allocations: 7.953 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3258, allocations: 17.7 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.326, allocations: 318.8 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.326, allocations: 43.97 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.3261, allocations: 44.55 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3262, allocations: 104.9 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3262, allocations: 3.938 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001672/0.3264, allocations: 133.6 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3264, allocations: 4 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3264, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3264, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.3264, allocations: 4 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3264, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.3265, allocations: 7.953 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.3265, allocations: 0 / 1.358 GB, free: 3.391 MB / 1.045 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.949e-05/0.3266, allocations: 130.4 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.3266, allocations: 7.953 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.3267, allocations: 89.05 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3267, allocations: 0 / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3267, allocations: 4 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3267, allocations: 0 / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.3268, allocations: 148.7 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3268, allocations: 0 / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.3268, allocations: 4.094 kB / 1.358 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3269, allocations: 8.016 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.3269, allocations: 0 / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3269, allocations: 0 / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3269, allocations: 4 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.327, allocations: 89.05 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.327, allocations: 15.89 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.327, allocations: 4 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.327, allocations: 0 / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.327, allocations: 7.969 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.327, allocations: 4 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.49e-05/0.3271, allocations: 107.2 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3271, allocations: 0 / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002693/0.3274, allocations: 59.86 kB / 1.358 GB, free: 2.645 MB / 1.045 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.0006345/0.328, allocations: 0.6904 MB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.3281, allocations: 63.91 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3281, allocations: 0 / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.549e-05/0.3282, allocations: 23.98 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3284, allocations: 27.97 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3299, allocations: 1.538 MB / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3303, allocations: 0.6885 MB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.3303, allocations: 4 kB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.3303, allocations: 15.44 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3303, allocations: 0 / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.3595, allocations: 3.484 MB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.96, allocations: 0 / 1.365 GB, free: 12.17 MB / 1.061 GB " [Timeout remaining time 289] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.765159937000135]