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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 106.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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 192.6 kB / 19.41 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 497.2 MB / 0.7811 GB, free: 12.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.91 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9258, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001866/0.9277, allocations: 1.3 MB / 1.305 GB, free: 31.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.9287, allocations: 0.7496 MB / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.832e-05/0.9287, allocations: 0 / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.9287, allocations: 0 / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-05/0.9288, allocations: 3.938 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.9291, allocations: 91.06 kB / 1.306 GB, free: 30.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.9291, allocations: 23.69 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.9292, allocations: 0 / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.751e-05/0.9292, allocations: 10 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.9292, allocations: 2.625 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.9292, allocations: 0 / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.9295, allocations: 151.4 kB / 1.306 GB, free: 30.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.9295, allocations: 0 / 1.306 GB, free: 30.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.9295, allocations: 17.64 kB / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.9297, allocations: 96.73 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9297, allocations: 7.875 kB / 1.306 GB, free: 30.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9297, allocations: 6.5 kB / 1.306 GB, free: 30.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.9297, allocations: 3.141 kB / 1.306 GB, free: 30.6 MB / 1.061 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.0002625/0.93, allocations: 339.3 kB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.93, allocations: 8.688 kB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.93, allocations: 33.75 kB / 1.307 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.019e-05/0.93, allocations: 4.891 kB / 1.307 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.597e-05/0.9301, allocations: 160.4 kB / 1.307 GB, free: 29.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.9301, allocations: 3.25 kB / 1.307 GB, free: 29.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-06/0.9301, allocations: 3.75 kB / 1.307 GB, free: 29.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.9302, allocations: 43.67 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.9302, allocations: 0 / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.9302, allocations: 3.984 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9302, allocations: 0 / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.851e-05/0.9303, allocations: 13.09 kB / 1.307 GB, free: 29.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.9304, allocations: 154.8 kB / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.9304, allocations: 31.06 kB / 1.307 GB, free: 29.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.9305, allocations: 18.58 kB / 1.307 GB, free: 29.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/0.9321, allocations: 0.6467 MB / 1.308 GB, free: 29.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.9321, allocations: 38.5 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.9321, allocations: 0 / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001397/0.9322, allocations: 51.14 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.9323, allocations: 51.41 kB / 1.308 GB, free: 29.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.9323, allocations: 96.86 kB / 1.308 GB, free: 29.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.9323, allocations: 25.7 kB / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.615e-05/0.9323, allocations: 86.14 kB / 1.308 GB, free: 28.94 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.9324, allocations: 12.03 kB / 1.308 GB, free: 28.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.9324, allocations: 16.84 kB / 1.308 GB, free: 28.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.9324, allocations: 310.8 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.9324, allocations: 6.156 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.9324, allocations: 9.781 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.9325, allocations: 14.55 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9325, allocations: 0 / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.633e-05/0.9325, allocations: 48.45 kB / 1.309 GB, free: 28.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.9325, allocations: 5.812 kB / 1.309 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.9325, allocations: 7.938 kB / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.9326, allocations: 0 / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.816e-05/0.9326, allocations: 8.984 kB / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.9326, allocations: 0 / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.9326, allocations: 7.938 kB / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.9326, allocations: 2.844 kB / 1.309 GB, free: 28.52 MB / 1.061 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 4.021e-05/0.9327, allocations: 105.8 kB / 1.309 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/0.9327, allocations: 10.78 kB / 1.309 GB, free: 28.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.506e-05/0.9328, allocations: 58.92 kB / 1.309 GB, free: 28.35 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9328, allocations: 0 / 1.309 GB, free: 28.35 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9328, allocations: 3.094 kB / 1.309 GB, free: 28.35 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.9328, allocations: 0 / 1.309 GB, free: 28.35 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.097e-05/0.9328, allocations: 152 kB / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.9328, allocations: 0 / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.9329, allocations: 13.75 kB / 1.309 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.9329, allocations: 0 / 1.309 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.9329, allocations: 0 / 1.309 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9329, allocations: 0 / 1.309 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9329, allocations: 3.094 kB / 1.309 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.351e-05/0.9329, allocations: 83.94 kB / 1.309 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.933, allocations: 84.33 kB / 1.309 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.933, allocations: 0 / 1.309 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.157e-05/0.933, allocations: 2.938 kB / 1.309 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.933, allocations: 0 / 1.309 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-06/0.933, allocations: 0 / 1.309 GB, free: 27.97 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.604e-05/0.933, allocations: 82.31 kB / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.933, allocations: 0 / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002112/0.9332, allocations: 34.16 kB / 1.309 GB, free: 27.88 MB / 1.061 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.0003244/0.9335, allocations: 0.6354 MB / 1.31 GB, free: 27.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.822e-05/0.9336, allocations: 16.84 kB / 1.31 GB, free: 27.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9336, allocations: 0 / 1.31 GB, free: 27.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.9336, allocations: 8.547 kB / 1.31 GB, free: 27.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.9338, allocations: 15.12 kB / 1.31 GB, free: 27.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.9341, allocations: 138.5 kB / 1.31 GB, free: 27.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.976e-05/0.9342, allocations: 0.682 MB / 1.311 GB, free: 26.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.9343, allocations: 6.438 kB / 1.311 GB, free: 26.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.9343, allocations: 7.438 kB / 1.311 GB, free: 26.4 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9343, allocations: 2.75 kB / 1.311 GB, free: 26.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.9567, allocations: 1.771 MB / 1.312 GB, free: 26.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.618, allocations: 12.62 kB / 1.312 GB, free: 26.01 MB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.565757285337895]