Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001726/0.001726, 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.00212/0.00212, allocations: 214 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_12_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.002037/0.002037, allocations: 68.7 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3471, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003093/0.3502, allocations: 1.319 MB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3517, allocations: 0.7873 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.3517, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.3517, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.3518, allocations: 7.922 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.3522, allocations: 95.91 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.3523, allocations: 15.92 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.3523, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.3524, allocations: 12 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.3524, allocations: 7.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3524, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.3528, allocations: 152 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.3528, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.3528, allocations: 7.938 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.353, allocations: 107.9 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.353, allocations: 3.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.353, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.353, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 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.0003841/0.3534, allocations: 262.2 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3534, allocations: 12.03 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.3535, allocations: 30.75 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.963e-05/0.3535, allocations: 0.9375 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3536, allocations: 106.5 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3536, allocations: 4.375 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.3536, allocations: 384 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.941e-05/0.3537, allocations: 41.81 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3537, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.3537, allocations: 4 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3537, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.3538, allocations: 15.92 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.354, allocations: 120.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.354, allocations: 34.61 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.3541, allocations: 12.92 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/0.3558, allocations: 360.5 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3558, allocations: 42.48 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3558, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001737/0.356, allocations: 49.64 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.356, allocations: 55.39 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.3561, allocations: 93.86 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3562, allocations: 25.7 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.3562, allocations: 80.14 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3562, allocations: 11.91 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.3563, allocations: 13.72 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3564, allocations: 319 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.3564, allocations: 8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.3564, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.3565, allocations: 16.86 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3565, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.358e-05/0.3566, allocations: 53.84 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3566, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3566, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3566, allocations: 48 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.3567, allocations: 15.97 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3567, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.3567, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.3567, allocations: 7.938 kB / 1.33 GB, free: 13.44 MB / 1.029 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.74e-05/0.3568, allocations: 108.2 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.3568, allocations: 3.938 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.3569, allocations: 69.2 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3569, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3569, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3569, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.3571, allocations: 128.7 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3571, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.3571, allocations: 11.94 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3571, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3571, allocations: 11.98 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3571, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3571, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.337e-05/0.3572, allocations: 73.06 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.3572, allocations: 3.938 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3572, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.217e-05/0.3572, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.3573, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.3573, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.3573, allocations: 83.28 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3573, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002362/0.3575, allocations: 31.86 kB / 1.331 GB, free: 12.84 MB / 1.029 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.0005418/0.3581, allocations: 0.632 MB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.3582, allocations: 23.92 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3582, allocations: 0 / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.3582, allocations: 8 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.3584, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.3588, allocations: 151.7 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3591, allocations: 0.6729 MB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.3591, allocations: 11.94 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.3592, allocations: 11.42 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3592, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3872, allocations: 1.86 MB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.45, allocations: 6.562 kB / 1.334 GB, free: 9.504 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.435399514999517]