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.005433/0.005433, allocations: 101 kB / 15.73 MB, free: 6.039 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.001176/0.001176, allocations: 195.5 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.219/2.219, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 72.08 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7043, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002019/0.7064, allocations: 1.292 MB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009666/0.7074, allocations: 0.7281 MB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.7074, allocations: 0 / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.7074, allocations: 0.5156 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.7075, allocations: 5.797 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.7078, allocations: 91.39 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.7079, allocations: 17.28 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.7079, allocations: 3.156 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.708, allocations: 11.91 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.708, allocations: 8.938 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.708, allocations: 0.9688 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.7083, allocations: 153.1 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.7084, allocations: 0.5156 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.7084, allocations: 7.891 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.7086, allocations: 104.2 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.7086, allocations: 0.9062 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7086, allocations: 0 / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.7086, allocations: 0.625 kB / 1.09 GB, free: 3.754 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.0002615/0.7089, allocations: 333.4 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.7089, allocations: 13.28 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.195e-05/0.7089, allocations: 44.3 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.709, allocations: 2.484 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.349e-05/0.7091, allocations: 170.7 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.7091, allocations: 9.156 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.7091, allocations: 0.9688 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.972e-05/0.7092, allocations: 36.7 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.7092, allocations: 0.9688 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.7092, allocations: 4 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7092, allocations: 1.188 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.959e-05/0.7093, allocations: 7.484 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.7094, allocations: 153.2 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.567e-05/0.7094, allocations: 41.19 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.7095, allocations: 10.64 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/0.7113, allocations: 0.6583 MB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.7113, allocations: 31.27 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7113, allocations: 4 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001416/0.7114, allocations: 46.95 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.7115, allocations: 56.12 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.142e-05/0.7115, allocations: 97.89 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.7115, allocations: 25.7 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.297e-05/0.7115, allocations: 81.61 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.7116, allocations: 10.16 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.7116, allocations: 17.48 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.7116, allocations: 317.2 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.7117, allocations: 3.141 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.7117, allocations: 4.078 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.7117, allocations: 16.83 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7117, allocations: 5.953 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.083e-05/0.7118, allocations: 43.42 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7118, allocations: 5.531 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.7118, allocations: 4.531 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.7118, allocations: 1.25 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.7119, allocations: 8.938 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7119, allocations: 0.5625 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.7119, allocations: 5.016 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.7119, allocations: 4.844 kB / 1.092 GB, free: 1.668 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 4.109e-05/0.712, allocations: 116.1 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.712, allocations: 1.469 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.7121, allocations: 58.61 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7121, allocations: 0.75 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.7121, allocations: 5.391 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.7121, allocations: 0 / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.576e-05/0.7122, allocations: 161.2 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7122, allocations: 1.156 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.7122, allocations: 8.484 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7122, allocations: 0.6875 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.7122, allocations: 1.281 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7123, allocations: 4.688 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7123, allocations: 0.7188 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.028e-05/0.7123, allocations: 72.95 kB / 1.092 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.7124, allocations: 79.08 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.7124, allocations: 5.828 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.7124, allocations: 0 / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.7124, allocations: 2.328 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.7124, allocations: 1.188 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.752e-05/0.7124, allocations: 78.66 kB / 1.093 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7124, allocations: 0 / 1.093 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002474/0.7127, allocations: 35.59 kB / 1.093 GB, free: 1.027 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.0004377/0.7131, allocations: 0.6408 MB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.423e-05/0.7132, allocations: 15.02 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7132, allocations: 0.5938 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.7133, allocations: 11.34 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.7134, allocations: 4.422 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.7138, allocations: 147.3 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.714, allocations: 0.674 MB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.7141, allocations: 11.97 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.7141, allocations: 9.422 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7141, allocations: 0.875 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.7306, allocations: 1.76 MB / 1.096 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/8.215, allocations: 7.766 kB / 1.096 GB, free: 15.16 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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