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.001092/0.001092, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.532/2.532, allocations: 437.1 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5383, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002212/0.5406, allocations: 1.288 MB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.5416, allocations: 0.7259 MB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.564e-05/0.5416, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.5416, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.5417, allocations: 11.86 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.542, allocations: 95.91 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.5421, allocations: 15.94 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.5421, allocations: 7.984 kB / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.733e-05/0.5421, allocations: 3.984 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.5422, allocations: 8 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.5422, allocations: 7.938 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.5425, allocations: 140.1 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.5425, allocations: 4 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.5425, allocations: 4 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.5427, allocations: 110 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5427, allocations: 3.938 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5427, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5428, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 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.0003407/0.5431, allocations: 339.6 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.5431, allocations: 11.97 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.5432, allocations: 30.75 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.5432, allocations: 4.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.5433, allocations: 160.4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.5433, allocations: 8.375 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.5433, allocations: 384 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.514e-05/0.5434, allocations: 41.81 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.5435, allocations: 4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.5435, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5435, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.5435, allocations: 11.98 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.5437, allocations: 157.6 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.5438, allocations: 34.61 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.5438, allocations: 16.91 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/0.5456, allocations: 0.6533 MB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.5457, allocations: 46.42 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5457, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001342/0.5458, allocations: 53.53 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.5458, allocations: 51.41 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.5459, allocations: 93.86 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.5459, allocations: 29.83 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.546, allocations: 80.14 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.546, allocations: 11.7 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.546, allocations: 13.72 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.5461, allocations: 318.8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.5461, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.18e-05/0.5462, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.5462, allocations: 16.86 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5462, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.165e-05/0.5463, allocations: 53.56 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.5463, allocations: 4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.5463, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.5463, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.5464, allocations: 7.984 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5464, allocations: 3.984 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.5464, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.5464, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 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.391e-05/0.5465, allocations: 105.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.5465, allocations: 15.88 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.5466, allocations: 61.03 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5466, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5466, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5466, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.5467, allocations: 149.7 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5468, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.5468, allocations: 11.94 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5468, allocations: 3.984 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5468, allocations: 12 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5468, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5468, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.407e-05/0.5469, allocations: 65.5 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.5469, allocations: 84.98 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.547, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.385e-05/0.547, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.547, allocations: 3.984 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.547, allocations: 7.984 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.547, allocations: 83.28 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.547, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002303/0.5473, allocations: 31.92 kB / 1.023 GB, free: 12.76 MB / 0.7794 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.0004497/0.5477, allocations: 0.6359 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.17e-05/0.5478, allocations: 15.92 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5478, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.529e-05/0.5478, allocations: 8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.548, allocations: 4.562 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.5484, allocations: 151.7 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.5486, allocations: 0.6767 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.5486, allocations: 4 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.5487, allocations: 15.42 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5487, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.5643, allocations: 1.735 MB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.666, allocations: 14.7 kB / 1.026 GB, free: 9.531 MB / 0.7794 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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