Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_10_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.004715/0.004715, allocations: 99.23 kB / 15.73 MB, free: 6.004 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.001384/0.001384, allocations: 191.6 kB / 16.67 MB, free: 5.922 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437.1 MB / 0.7106 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2444, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00216/0.2466, allocations: 1.29 MB / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2477, allocations: 0.734 MB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.2477, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.2478, allocations: 3.938 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.2478, allocations: 0 / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.2482, allocations: 95.91 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.2482, allocations: 19.92 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.2483, allocations: 7.984 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.784e-05/0.2483, allocations: 7.938 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.989e-05/0.2483, allocations: 4 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.2483, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.2486, allocations: 148 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.2487, allocations: 0 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.2487, allocations: 19.91 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.2489, allocations: 100.1 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2489, allocations: 0 / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2489, allocations: 4 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2489, allocations: 0 / 1.169 GB, free: 4.832 MB / 0.92 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.0003439/0.2493, allocations: 339.3 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2493, allocations: 12.03 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.2493, allocations: 30.75 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.951e-05/0.2494, allocations: 0.9375 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2495, allocations: 164.3 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-06/0.2495, allocations: 384 / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.2495, allocations: 8.375 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.156e-05/0.2496, allocations: 45.75 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2496, allocations: 3.984 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.2496, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2496, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.2497, allocations: 11.98 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.2498, allocations: 157.6 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.2499, allocations: 38.67 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.2499, allocations: 12.86 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/0.2516, allocations: 0.6533 MB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2517, allocations: 42.44 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2517, allocations: 0 / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.00013/0.2518, allocations: 45.69 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2518, allocations: 51.41 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.275e-05/0.2519, allocations: 93.86 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2519, allocations: 25.7 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.252, allocations: 84.27 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.252, allocations: 15.89 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.252, allocations: 17.7 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2521, allocations: 310.8 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.2522, allocations: 4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-06/0.2522, allocations: 4 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.2522, allocations: 24.78 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2522, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.565e-05/0.2523, allocations: 49.64 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2523, allocations: 4 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.2523, allocations: 3.938 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2523, allocations: 4 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.2524, allocations: 7.984 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2524, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.2524, allocations: 3.953 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.2524, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 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 6.814e-05/0.2525, allocations: 109.8 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.2525, allocations: 7.875 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.2526, allocations: 61.12 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2526, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2526, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2526, allocations: 4.359 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.805e-05/0.2528, allocations: 145.7 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2528, allocations: 4 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.2528, allocations: 11.92 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2528, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.2528, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2528, allocations: 4 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2528, allocations: 3.984 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.127e-05/0.2529, allocations: 73.06 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.2529, allocations: 85.05 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.253, allocations: 0 / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.253, allocations: 0 / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.253, allocations: 0 / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.253, allocations: 4 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.253, allocations: 83.27 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.253, allocations: 0 / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002106/0.2533, allocations: 35.88 kB / 1.171 GB, free: 1.562 MB / 0.92 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.0004555/0.2537, allocations: 0.6397 MB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.117e-05/0.2538, allocations: 15.98 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2538, allocations: 0 / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.2538, allocations: 4 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.254, allocations: 18.56 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.2543, allocations: 155.5 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.2546, allocations: 0.6729 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.2546, allocations: 11.92 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.2546, allocations: 7.438 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2547, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.312/1.567, allocations: 1.766 MB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.85/19.42, allocations: 12.89 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches