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.001924/0.001924, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002541/0.002541, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 8.004 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.334/3.334, allocations: 0.49 GB / 0.7951 GB, free: 33.54 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.002308/0.002308, allocations: 71.12 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4743/0.4766, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00385/0.4804, allocations: 1.319 MB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4825, allocations: 0.7795 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.4825, allocations: 3.938 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.4825, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.432e-05/0.4826, allocations: 7.984 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.4832, allocations: 99.91 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.4833, allocations: 15.88 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.4834, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.4834, allocations: 7.984 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.4835, allocations: 11.92 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.4835, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.4839, allocations: 144.1 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.484, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.484, allocations: 11.94 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.4843, allocations: 104 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4843, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4843, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4843, allocations: 0 / 1.328 GB, free: 15.43 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.00052/0.4848, allocations: 262.2 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4849, allocations: 12.03 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.4849, allocations: 34.73 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.479e-05/0.485, allocations: 0.9375 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.4851, allocations: 106.5 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4851, allocations: 4.312 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.4851, allocations: 384 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.4853, allocations: 45.81 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4853, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4853, allocations: 4 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4853, allocations: 3.938 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.4853, allocations: 4 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.4855, allocations: 124.8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.4857, allocations: 38.55 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.4857, allocations: 16.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/0.4876, allocations: 364.5 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.4877, allocations: 42.5 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4877, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002359/0.4879, allocations: 49.67 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.488, allocations: 51.41 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4881, allocations: 93.86 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.4881, allocations: 25.7 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.4882, allocations: 88.19 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.4882, allocations: 19.91 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.4882, allocations: 9.719 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4884, allocations: 314.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.4885, allocations: 8 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.997e-05/0.4885, allocations: 7.984 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.4885, allocations: 16.86 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4885, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001074/0.4886, allocations: 49.62 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.4887, allocations: 8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4887, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.4887, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.4888, allocations: 7.938 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.4888, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.4888, allocations: 3.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.4888, allocations: 0 / 1.33 GB, free: 13.45 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 0.000126/0.4889, allocations: 105.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.489, allocations: 7.938 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.4891, allocations: 61.36 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4891, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4892, allocations: 3.938 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4892, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.4893, allocations: 128.7 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4893, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.4894, allocations: 19.88 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4894, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.4894, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4894, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4894, allocations: 4 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.4895, allocations: 65.12 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.4896, allocations: 7.938 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4896, allocations: 0 / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.4896, allocations: 0 / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.4896, allocations: 3.984 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.4896, allocations: 4.422 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.509e-05/0.4897, allocations: 83.28 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4897, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003085/0.49, allocations: 31.88 kB / 1.331 GB, free: 12.85 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.0008923/0.4909, allocations: 0.6436 MB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.491, allocations: 8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.491, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.4911, allocations: 19.92 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4913, allocations: 1.562 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/0.492, allocations: 151.7 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.4924, allocations: 0.6807 MB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.4924, allocations: 7.938 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.4925, allocations: 7.438 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/0.4925, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.5304, allocations: 1.862 MB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.51, allocations: 11.11 kB / 1.334 GB, free: 9.512 MB / 1.029 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 19.699394394876435]