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.001911/0.001911, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00258/0.00258, allocations: 216 kB / 22.25 MB, free: 5.105 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.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.793 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.469/3.469, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.002087/0.002087, allocations: 72.45 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4528, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002732/0.4556, allocations: 1.313 MB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.457, allocations: 0.725 MB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.457, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.457, allocations: 3.938 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.4571, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.4574, allocations: 103.9 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.4575, allocations: 15.88 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.4575, allocations: 7.984 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.4576, allocations: 8 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.4576, allocations: 4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.4576, allocations: 3.984 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.458, allocations: 148 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.458, allocations: 3.938 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.458, allocations: 7.984 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.4582, allocations: 111.9 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4582, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4582, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4582, allocations: 0 / 1.328 GB, free: 15.02 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.0003852/0.4586, allocations: 258.2 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4587, allocations: 12.03 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.4587, allocations: 34.75 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.4587, allocations: 0.9375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.4588, allocations: 106.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4588, allocations: 384 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.4589, allocations: 384 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.459, allocations: 49.75 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.459, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.459, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.459, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.459, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.4592, allocations: 124.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.739e-05/0.4593, allocations: 34.61 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.4593, allocations: 8.922 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/0.461, allocations: 368.5 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.461, allocations: 38.44 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.461, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001762/0.4612, allocations: 45.83 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.4613, allocations: 59.41 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.4614, allocations: 93.86 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4614, allocations: 25.7 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.4614, allocations: 92.06 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.4615, allocations: 7.906 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.4615, allocations: 17.72 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4617, allocations: 314.8 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.4617, allocations: 4 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.853e-05/0.4617, allocations: 16.02 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.447e-05/0.4617, allocations: 16.8 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4617, allocations: 8.125 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.1e-05/0.4618, allocations: 41.62 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.4618, allocations: 8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4618, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4619, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.4619, allocations: 4 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.4619, allocations: 4 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.4619, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4619, allocations: 4 kB / 1.33 GB, free: 13.05 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.672e-05/0.462, allocations: 109.8 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.462, allocations: 7.938 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.4622, allocations: 57.36 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4622, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4622, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4622, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.4623, allocations: 132.7 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4623, allocations: 0 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.4624, allocations: 11.92 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4624, allocations: 4 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.4624, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4624, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4624, allocations: 4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.4625, allocations: 73.06 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.4625, allocations: 7.938 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.4625, allocations: 0 / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.4625, allocations: 3.938 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.4625, allocations: 3.984 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.4625, allocations: 4 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.274e-05/0.4626, allocations: 75.28 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4626, allocations: 0 / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002479/0.4628, allocations: 35.88 kB / 1.33 GB, free: 12.45 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.0005906/0.4634, allocations: 0.6399 MB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.4635, allocations: 19.97 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4635, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.4635, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.4638, allocations: 17.7 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.4642, allocations: 147.7 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.595e-05/0.4643, allocations: 59.34 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.4643, allocations: 4 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.4643, allocations: 7.438 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4643, allocations: 0 / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4977, allocations: 2.303 MB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.45, allocations: 6.266 kB / 1.334 GB, free: 9.301 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.75533275300404]