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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007995/0.007996, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001833/0.001833, allocations: 198.3 kB / 16.68 MB, free: 5.957 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.293/1.293, 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 11.0.1-master/package.mo): time 2.522/2.522, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8059, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002615/0.8086, allocations: 1.29 MB / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.8099, allocations: 0.7367 MB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.8099, allocations: 0 / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.8099, allocations: 3.938 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.81, allocations: 0 / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.8105, allocations: 95.91 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.65e-05/0.8106, allocations: 15.92 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.8106, allocations: 11.88 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.8106, allocations: 0 / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.8107, allocations: 15.98 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.8107, allocations: 4 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.8111, allocations: 148 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.8111, allocations: 0 / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.8111, allocations: 7.938 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.8113, allocations: 102 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8114, allocations: 0 / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8114, allocations: 0 / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8114, allocations: 0 / 1.21 GB, free: 11.14 MB / 0.9356 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.0003926/0.8118, allocations: 339.5 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.8118, allocations: 12.03 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.8119, allocations: 30.75 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.8119, allocations: 12.83 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.8121, allocations: 164.4 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.8121, allocations: 4.312 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.8121, allocations: 384 / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.8122, allocations: 41.75 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.8122, allocations: 4 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.8122, allocations: 0 / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8122, allocations: 4 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.8123, allocations: 8 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.8125, allocations: 153.7 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.8126, allocations: 34.61 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.8126, allocations: 12.86 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.8142, allocations: 0.6534 MB / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.8143, allocations: 38.5 kB / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.8143, allocations: 4 kB / 1.211 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000158/0.8145, allocations: 49.83 kB / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.8145, allocations: 51.41 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.27e-05/0.8146, allocations: 97.84 kB / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.8146, allocations: 25.7 kB / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.8146, allocations: 84.14 kB / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.8147, allocations: 11.83 kB / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.8147, allocations: 17.66 kB / 1.211 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8148, allocations: 315 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.8148, allocations: 15.92 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.8148, allocations: 8.031 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.8149, allocations: 16.86 kB / 1.212 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8149, allocations: 0 / 1.212 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.851e-05/0.815, allocations: 53.53 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.815, allocations: 5.875 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.815, allocations: 0 / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.815, allocations: 0 / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.8151, allocations: 4 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8151, allocations: 3.938 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.8151, allocations: 8 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.8151, allocations: 0 / 1.212 GB, free: 8.59 MB / 0.9356 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.78e-05/0.8152, allocations: 109.8 kB / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.8152, allocations: 7.938 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.8153, allocations: 57.12 kB / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8154, allocations: 0 / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8154, allocations: 0 / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.8154, allocations: 0 / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.8155, allocations: 157.7 kB / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8155, allocations: 0 / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.8155, allocations: 7.938 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.8155, allocations: 0 / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.8155, allocations: 4 kB / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.8155, allocations: 3.938 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8155, allocations: 0 / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.342e-05/0.8156, allocations: 65.12 kB / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.8157, allocations: 92.94 kB / 1.212 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.8157, allocations: 0 / 1.212 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.8157, allocations: 4 kB / 1.212 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.8157, allocations: 4 kB / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.8157, allocations: 0 / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.8158, allocations: 79.28 kB / 1.212 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8158, allocations: 0 / 1.212 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002321/0.816, allocations: 27.94 kB / 1.212 GB, free: 7.875 MB / 0.9356 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.0004802/0.8165, allocations: 0.64 MB / 1.213 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.483e-05/0.8166, allocations: 15.98 kB / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8166, allocations: 4 kB / 1.213 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.8166, allocations: 15.98 kB / 1.213 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.8168, allocations: 11.94 kB / 1.213 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.8173, allocations: 143.6 kB / 1.213 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.8175, allocations: 0.6768 MB / 1.214 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.8175, allocations: 7.938 kB / 1.214 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.8176, allocations: 15.44 kB / 1.214 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8176, allocations: 0 / 1.214 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.8333, allocations: 1.768 MB / 1.216 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/8.101, allocations: 9.297 kB / 1.216 GB, free: 4.621 MB / 0.9356 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