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 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004619/0.004619, allocations: 101.8 kB / 15.73 MB, free: 6.062 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.001356/0.001356, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.475/2.475, allocations: 482.6 MB / 0.7551 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 64.7 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2651, allocations: 162.3 MB / 1.242 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002047/0.2671, allocations: 1.29 MB / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2682, allocations: 0.7306 MB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.2682, allocations: 0 / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.2682, allocations: 3.938 kB / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.2683, allocations: 0 / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.2686, allocations: 95.89 kB / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.626e-05/0.2686, allocations: 15.94 kB / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.2687, allocations: 11.98 kB / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.712e-05/0.2687, allocations: 7.938 kB / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.848e-05/0.2688, allocations: 4 kB / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.2688, allocations: 0 / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.2691, allocations: 152 kB / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.2691, allocations: 0 / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.2691, allocations: 15.92 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2693, allocations: 104 kB / 1.244 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.2693, allocations: 4 kB / 1.244 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2693, allocations: 0 / 1.244 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2693, allocations: 0 / 1.244 GB, free: 6.492 MB / 0.9669 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.0003252/0.2697, allocations: 343.3 kB / 1.245 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2697, allocations: 12.03 kB / 1.245 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.2697, allocations: 30.75 kB / 1.245 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.768e-05/0.2698, allocations: 0.9375 kB / 1.245 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2699, allocations: 160.4 kB / 1.245 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.2699, allocations: 384 / 1.245 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-06/0.2699, allocations: 4.375 kB / 1.245 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.094e-05/0.27, allocations: 49.73 kB / 1.245 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.27, allocations: 4 kB / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.27, allocations: 0 / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.27, allocations: 0 / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.2701, allocations: 11.98 kB / 1.245 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.2702, allocations: 149.7 kB / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.27e-05/0.2703, allocations: 34.67 kB / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.2703, allocations: 12.86 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/0.272, allocations: 0.6611 MB / 1.246 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.2721, allocations: 42.44 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.2721, allocations: 0 / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001244/0.2722, allocations: 49.64 kB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.2722, allocations: 55.41 kB / 1.246 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.2723, allocations: 93.86 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.2723, allocations: 25.7 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.2724, allocations: 80.14 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.2724, allocations: 11.89 kB / 1.246 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.2724, allocations: 29.77 kB / 1.246 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2726, allocations: 314.8 kB / 1.246 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.2726, allocations: 4 kB / 1.246 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.2726, allocations: 0 / 1.246 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.2726, allocations: 24.78 kB / 1.246 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2726, allocations: 0 / 1.246 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.829e-05/0.2727, allocations: 45.64 kB / 1.246 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2727, allocations: 4 kB / 1.246 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.2727, allocations: 0 / 1.246 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.2727, allocations: 4 kB / 1.246 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.2728, allocations: 11.98 kB / 1.246 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2728, allocations: 0 / 1.246 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.2728, allocations: 0 / 1.246 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.2728, allocations: 0 / 1.246 GB, free: 3.949 MB / 0.9669 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 7.38e-05/0.2729, allocations: 117.9 kB / 1.247 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.2729, allocations: 7.891 kB / 1.247 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.734e-05/0.273, allocations: 53.12 kB / 1.247 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.273, allocations: 384 / 1.247 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.273, allocations: 4 kB / 1.247 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.273, allocations: 7.984 kB / 1.247 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2732, allocations: 153.7 kB / 1.247 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2732, allocations: 3.984 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.2732, allocations: 11.92 kB / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.2732, allocations: 0 / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.2732, allocations: 0 / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2732, allocations: 0 / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2732, allocations: 0 / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.256e-05/0.2733, allocations: 77.06 kB / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.2734, allocations: 85.05 kB / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.2734, allocations: 0 / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.2734, allocations: 0 / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-06/0.2734, allocations: 0 / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.2734, allocations: 7.938 kB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.2734, allocations: 79.27 kB / 1.247 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2735, allocations: 0 / 1.247 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002059/0.2737, allocations: 31.97 kB / 1.247 GB, free: 3.223 MB / 0.9669 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.0004622/0.2741, allocations: 0.6357 MB / 1.248 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.2742, allocations: 23.98 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2742, allocations: 0 / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.2742, allocations: 4 kB / 1.248 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.2744, allocations: 8 kB / 1.248 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.2747, allocations: 155.4 kB / 1.248 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.275, allocations: 0.6729 MB / 1.248 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.275, allocations: 11.98 kB / 1.249 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.2751, allocations: 7.438 kB / 1.249 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.2751, allocations: 0 / 1.249 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7627/1.038, allocations: 1.768 MB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/9.074, allocations: 15.61 kB / 1.25 GB, free: 15.98 MB / 0.9825 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=400 --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