Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.001714/0.001714, allocations: 103.5 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.001881/0.001881, allocations: 212.9 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.417/1.417, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.234/3.234, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",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.001988/0.001988, allocations: 73.59 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3864, allocations: 180.2 MB / 1.348 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002636/0.3891, allocations: 1.303 MB / 1.349 GB, free: 8.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3904, allocations: 0.7798 MB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.3904, allocations: 0 / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.3905, allocations: 0 / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-05/0.3905, allocations: 3.938 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.3909, allocations: 95.91 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.391, allocations: 15.92 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.391, allocations: 4 kB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.353e-05/0.391, allocations: 11.98 kB / 1.35 GB, free: 7.723 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.3911, allocations: 11.94 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3911, allocations: 0 / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.3914, allocations: 144.1 kB / 1.35 GB, free: 7.57 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.3914, allocations: 3.984 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.3915, allocations: 7.938 kB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.3917, allocations: 108 kB / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3917, allocations: 0 / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3917, allocations: 3.938 kB / 1.35 GB, free: 7.449 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3917, allocations: 4 kB / 1.35 GB, free: 7.445 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004112/0.3921, allocations: 335.3 kB / 1.351 GB, free: 7.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3921, allocations: 11.98 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.3922, allocations: 38.75 kB / 1.351 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.3922, allocations: 0.9375 kB / 1.351 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3923, allocations: 160.4 kB / 1.351 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3924, allocations: 4.125 kB / 1.351 GB, free: 6.812 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.3924, allocations: 4 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.826e-05/0.3925, allocations: 37.62 kB / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3925, allocations: 0 / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3925, allocations: 0 / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3925, allocations: 4 kB / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.224e-05/0.3925, allocations: 19.92 kB / 1.351 GB, free: 6.742 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.3927, allocations: 149.7 kB / 1.351 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.563e-05/0.3928, allocations: 34.55 kB / 1.351 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.3928, allocations: 8.922 kB / 1.351 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/0.3947, allocations: 0.6572 MB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3947, allocations: 38.48 kB / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3947, allocations: 0 / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001726/0.3949, allocations: 57.62 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3949, allocations: 51.41 kB / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.395, allocations: 93.86 kB / 1.352 GB, free: 5.488 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.395, allocations: 25.7 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.3951, allocations: 84.14 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.3951, allocations: 7.906 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.3951, allocations: 13.72 kB / 1.352 GB, free: 5.344 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3953, allocations: 323 kB / 1.352 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.3953, allocations: 4 kB / 1.352 GB, free: 5.016 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.3953, allocations: 4 kB / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.095e-05/0.3953, allocations: 16.86 kB / 1.352 GB, free: 4.992 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3953, allocations: 7.938 kB / 1.352 GB, free: 4.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.871e-05/0.3954, allocations: 49.95 kB / 1.352 GB, free: 4.93 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3954, allocations: 4 kB / 1.352 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3954, allocations: 0 / 1.352 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3955, allocations: 0 / 1.352 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.3955, allocations: 7.984 kB / 1.352 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3955, allocations: 4 kB / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.3955, allocations: 0 / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3955, allocations: 4 kB / 1.352 GB, free: 4.91 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): 3 * 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 prepare postOptimizeDAE: time 8.107e-05/0.3956, allocations: 109.8 kB / 1.352 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.3956, allocations: 3.984 kB / 1.353 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.3958, allocations: 65.08 kB / 1.353 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3958, allocations: 0 / 1.353 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3958, allocations: 0 / 1.353 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3958, allocations: 7.938 kB / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.3959, allocations: 157.6 kB / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3959, allocations: 0 / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.3959, allocations: 4 kB / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3959, allocations: 3.984 kB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3959, allocations: 7.938 kB / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3959, allocations: 0 / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3959, allocations: 0 / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.493e-05/0.396, allocations: 73.06 kB / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.3961, allocations: 81.05 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.3961, allocations: 0 / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.3961, allocations: 0 / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.3961, allocations: 8 kB / 1.353 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3961, allocations: 0 / 1.353 GB, free: 4.289 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.3961, allocations: 79.28 kB / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3961, allocations: 0 / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000231/0.3964, allocations: 31.86 kB / 1.353 GB, free: 4.18 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 (3): * Single equations (assignments): 3 * 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.0005521/0.3969, allocations: 0.6359 MB / 1.354 GB, free: 3.512 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.667e-05/0.397, allocations: 15.92 kB / 1.354 GB, free: 3.496 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.397, allocations: 4 kB / 1.354 GB, free: 3.492 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.397, allocations: 8 kB / 1.354 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.3972, allocations: 7.984 kB / 1.354 GB, free: 3.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.3977, allocations: 157.6 kB / 1.354 GB, free: 3.285 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.398, allocations: 0.6729 MB / 1.354 GB, free: 2.586 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.398, allocations: 4 kB / 1.354 GB, free: 2.582 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.398, allocations: 19.42 kB / 1.354 GB, free: 2.566 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.398, allocations: 3.938 kB / 1.354 GB, free: 2.562 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.4226, allocations: 1.784 MB / 1.356 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.545, allocations: 1.875 kB / 1.356 GB, free: 0.9219 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_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_Correlations_Examples_YorkCalc.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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: 15.352897442877293]