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.001325/0.001325, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001388/0.001388, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.413/1.413, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.783/2.783, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="cs",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.001902/0.001902, allocations: 67.91 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8406/0.8425, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00228/0.8448, allocations: 1.324 MB / 1.341 GB, free: 15.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.8459, allocations: 0.7733 MB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.846, allocations: 0 / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.846, allocations: 0.6562 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.846, allocations: 9.688 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.8464, allocations: 90.44 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.54e-05/0.8464, allocations: 22.11 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.8465, allocations: 6.578 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/0.8465, allocations: 3.922 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.8465, allocations: 9.328 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.8465, allocations: 0.9375 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.8468, allocations: 148.5 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.8469, allocations: 5.953 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.8469, allocations: 11.55 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.8471, allocations: 95.59 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8471, allocations: 0 / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8471, allocations: 1.531 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.8471, allocations: 4 kB / 1.343 GB, free: 14.71 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.0002999/0.8474, allocations: 340.9 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.8474, allocations: 14.8 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.8474, allocations: 192 / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.854e-05/0.8474, allocations: 32.69 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.8475, allocations: 1.641 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.326e-05/0.8476, allocations: 171.3 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.8476, allocations: 7.938 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.8476, allocations: 5.781 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.864e-05/0.8477, allocations: 36.52 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8477, allocations: 1.781 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.8477, allocations: 0 / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8477, allocations: 0 / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.8477, allocations: 11.67 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.8478, allocations: 158.5 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.8479, allocations: 31.44 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.8479, allocations: 13.25 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/0.8497, allocations: 0.6496 MB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.8497, allocations: 39.66 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8497, allocations: 0 / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000154/0.8498, allocations: 46.95 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.8499, allocations: 53.3 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.406e-05/0.8499, allocations: 93.34 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.8499, allocations: 26.92 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.326e-05/0.8499, allocations: 84.88 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.8499, allocations: 14.75 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.85, allocations: 12.61 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.85, allocations: 313.6 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.85, allocations: 7.391 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.85, allocations: 7.906 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.8501, allocations: 25.45 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8501, allocations: 5.281 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.856e-05/0.8501, allocations: 42.61 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.8501, allocations: 10.28 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8501, allocations: 0 / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.8502, allocations: 1.156 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.8502, allocations: 5.859 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.8502, allocations: 1.062 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.8502, allocations: 3.938 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.8502, allocations: 1 kB / 1.345 GB, free: 12.62 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 3.961e-05/0.8503, allocations: 117 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.8503, allocations: 1.094 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.8504, allocations: 70.14 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8504, allocations: 1.219 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.8504, allocations: 0.6562 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8504, allocations: 0 / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.259e-05/0.8505, allocations: 154 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.8505, allocations: 0 / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.8505, allocations: 5.781 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8505, allocations: 0.6094 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.8505, allocations: 5.219 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8505, allocations: 4 kB / 1.345 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8505, allocations: 0.7031 kB / 1.345 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.734e-05/0.8506, allocations: 73.61 kB / 1.345 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.8506, allocations: 78.77 kB / 1.345 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.8506, allocations: 2.188 kB / 1.345 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.8506, allocations: 0 / 1.345 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.8506, allocations: 2.406 kB / 1.345 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.8506, allocations: 1.25 kB / 1.345 GB, free: 12.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.728e-05/0.8506, allocations: 85.52 kB / 1.345 GB, free: 11.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8506, allocations: 0 / 1.345 GB, free: 11.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002227/0.8509, allocations: 27.69 kB / 1.345 GB, free: 11.99 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.000334/0.8512, allocations: 0.6428 MB / 1.346 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.8513, allocations: 11.75 kB / 1.346 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8513, allocations: 0 / 1.346 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.8513, allocations: 10.84 kB / 1.346 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.8515, allocations: 4.438 kB / 1.346 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.8518, allocations: 161.3 kB / 1.346 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.002e-05/0.8519, allocations: 0.6742 MB / 1.347 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.342e-05/0.8519, allocations: 10.34 kB / 1.347 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.852, allocations: 11.03 kB / 1.347 GB, free: 10.49 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.852, allocations: 0 / 1.347 GB, free: 10.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.8696, allocations: 1.832 MB / 1.349 GB, free: 10.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/9.21, allocations: 6.078 kB / 1.349 GB, free: 10.09 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/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.326398138015065]