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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000891/0.000891, allocations: 97.33 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005466/0.005466, allocations: 172.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.372/2.372, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002794, allocations: 18.73 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2224, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001147/0.2236, allocations: 1.029 MB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2247, allocations: 0.7563 MB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.183e-05/0.2247, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.2247, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.2248, allocations: 7.969 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.225, allocations: 72 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.849e-05/0.2251, allocations: 15.94 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.2251, allocations: 4 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.2251, allocations: 7.984 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.2252, allocations: 15.92 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.2252, allocations: 0 / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.2255, allocations: 152.9 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.2255, allocations: 0 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.2255, allocations: 29.7 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.2257, allocations: 104.5 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2257, allocations: 8 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2257, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.2257, allocations: 4 kB / 1.061 GB, free: 2.66 MB / 0.8106 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.0002701/0.226, allocations: 323.6 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.226, allocations: 11.97 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.721e-05/0.2261, allocations: 30.75 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.841e-05/0.2261, allocations: 4.922 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.2262, allocations: 168.3 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.2262, allocations: 4.375 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-06/0.2262, allocations: 384 / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.771e-05/0.2263, allocations: 45.75 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-06/0.2263, allocations: 0 / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.2263, allocations: 0 / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.2263, allocations: 4 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.2264, allocations: 8 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.2265, allocations: 157.6 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.242e-05/0.2266, allocations: 34.55 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.2266, allocations: 16.92 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002186/0.2288, allocations: 1.038 MB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.2288, allocations: 42.44 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.2288, allocations: 3.984 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001272/0.229, allocations: 45.69 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.229, allocations: 55.41 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.2291, allocations: 93.86 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.2291, allocations: 25.7 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.2291, allocations: 84.12 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2291, allocations: 11.91 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.2292, allocations: 9.719 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.2293, allocations: 310.8 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.2293, allocations: 4 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.2293, allocations: 11.94 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.2293, allocations: 24.97 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2293, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.925e-05/0.2294, allocations: 45.62 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2294, allocations: 4 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2294, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.2295, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.2295, allocations: 4 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2295, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.2295, allocations: 4 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.2295, allocations: 4 kB / 1.063 GB, free: 15.75 MB / 0.8262 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 5.442e-05/0.2296, allocations: 113.8 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.2296, allocations: 11.84 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.2297, allocations: 57.17 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2297, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2297, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2298, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.564e-05/0.2298, allocations: 153.7 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2298, allocations: 0 / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.2299, allocations: 11.94 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2299, allocations: 3.938 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2299, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2299, allocations: 3.938 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2299, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.982e-05/0.23, allocations: 73.06 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.23, allocations: 81.05 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.2301, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/0.2301, allocations: 4 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.2301, allocations: 7.984 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2301, allocations: 432 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.2301, allocations: 79.28 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2301, allocations: 0 / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002042/0.2303, allocations: 31.94 kB / 1.064 GB, free: 15.03 MB / 0.8262 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.0004185/0.2308, allocations: 0.6375 MB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.126e-05/0.2308, allocations: 15.98 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2308, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.2309, allocations: 8 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.231, allocations: 11.98 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.2314, allocations: 156.1 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.2316, allocations: 0.6809 MB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.2316, allocations: 4 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.2316, allocations: 7.438 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2316, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3966/0.6282, allocations: 1.566 MB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.6284, allocations: 235.7 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.487, allocations: 5.25 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB (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 --timeout=50 --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) 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) Reference file matches