Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_9_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.006303/0.006304, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001547/0.001547, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/0.6912, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00204/0.6933, allocations: 1.295 MB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.6942, allocations: 0.7289 MB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.6942, allocations: 4.688 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.6942, allocations: 1.078 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.544e-05/0.6943, allocations: 5.359 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.6946, allocations: 95.8 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.6946, allocations: 12.86 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.6947, allocations: 2.828 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.6947, allocations: 7.516 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.6948, allocations: 14.39 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.6948, allocations: 0 / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.6951, allocations: 148.7 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.6951, allocations: 5.344 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.6951, allocations: 8.141 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.6954, allocations: 99.3 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6954, allocations: 1.938 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6954, allocations: 0 / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6954, allocations: 0 / 1.09 GB, free: 3.746 MB / 0.8575 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.0002748/0.6957, allocations: 341.3 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6957, allocations: 9.438 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.6957, allocations: 36.5 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.6958, allocations: 1.844 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.71e-05/0.6958, allocations: 166.8 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.6959, allocations: 9.219 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.6959, allocations: 1.062 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/0.696, allocations: 33.94 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.696, allocations: 3.984 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.696, allocations: 4 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.696, allocations: 0 / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.696, allocations: 13.44 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.6961, allocations: 151.5 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.665e-05/0.6962, allocations: 40.42 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.6963, allocations: 11.59 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/0.6979, allocations: 0.6586 MB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.698, allocations: 31.59 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.698, allocations: 4 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001259/0.6981, allocations: 50.78 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.6981, allocations: 53 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.841e-05/0.6982, allocations: 92.83 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.6982, allocations: 27.17 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.046e-05/0.6982, allocations: 80.14 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.6982, allocations: 13.7 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.6983, allocations: 14.58 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.6983, allocations: 324.4 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.6983, allocations: 3.516 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.6983, allocations: 4.359 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.6984, allocations: 17.08 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6984, allocations: 3.938 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.093e-05/0.6984, allocations: 48.67 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.6985, allocations: 5.781 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.6985, allocations: 0 / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.6985, allocations: 0.7812 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.44e-05/0.6985, allocations: 10.06 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.6985, allocations: 1.125 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.6986, allocations: 11.84 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.6986, allocations: 1.062 kB / 1.092 GB, free: 1.656 MB / 0.8575 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.908e-05/0.6986, allocations: 111.8 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.6986, allocations: 1.875 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.924e-05/0.6987, allocations: 58.69 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6987, allocations: 0.875 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6987, allocations: 4.516 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6988, allocations: 1.25 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.794e-05/0.6988, allocations: 161.2 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6988, allocations: 0 / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.6988, allocations: 6.516 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.6989, allocations: 0 / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.6989, allocations: 4.859 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6989, allocations: 1.266 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6989, allocations: 0 / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.439e-05/0.6989, allocations: 73.59 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.699, allocations: 79.31 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.699, allocations: 0.7812 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.699, allocations: 0 / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.699, allocations: 2.906 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.699, allocations: 5.344 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.611e-05/0.699, allocations: 85.38 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.699, allocations: 0.7812 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002176/0.6993, allocations: 31.36 kB / 1.093 GB, free: 1.02 MB / 0.8575 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.0004191/0.6997, allocations: 0.6363 MB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.293e-05/0.6998, allocations: 20.78 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6998, allocations: 0 / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.6998, allocations: 10.89 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.7, allocations: 5.922 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.7003, allocations: 142.5 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.7005, allocations: 0.6743 MB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.7006, allocations: 7.938 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.7006, allocations: 13.62 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.7006, allocations: 0.7188 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06863/0.7692, allocations: 1.761 MB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/9.224, allocations: 12.36 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches