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.007693/0.007693, allocations: 98.88 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.001709/0.001709, allocations: 189.8 kB / 16.67 MB, free: 5.926 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.06 MB / 206.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.319/2.319, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.12 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6932, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002086/0.6953, allocations: 1.303 MB / 1.167 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.6964, allocations: 0.7321 MB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.6964, allocations: 0 / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.6964, allocations: 4 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.6965, allocations: 3.938 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.6968, allocations: 95.95 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.411e-05/0.6969, allocations: 15.88 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.6969, allocations: 7.922 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.697, allocations: 8 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.697, allocations: 8 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.697, allocations: 3.984 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.6973, allocations: 144.1 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.6973, allocations: 3.984 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.6974, allocations: 7.938 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.6975, allocations: 102.5 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6976, allocations: 0 / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6976, allocations: 0 / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6976, allocations: 0 / 1.169 GB, free: 1.34 MB / 0.8887 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.0003107/0.6979, allocations: 340.3 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6979, allocations: 12.92 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.698, allocations: 30.75 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.698, allocations: 0.9375 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.6981, allocations: 168.4 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.6981, allocations: 4.312 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.6981, allocations: 384 / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.419e-05/0.6982, allocations: 41.8 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.6982, allocations: 0 / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.6982, allocations: 4 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6983, allocations: 4 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.031e-05/0.6983, allocations: 11.98 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.6984, allocations: 157.7 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.666e-05/0.6985, allocations: 38.45 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.6986, allocations: 8.922 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.7002, allocations: 0.6572 MB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.7003, allocations: 34.5 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.7003, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0001531/0.7004, allocations: 49.69 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.7005, allocations: 51.41 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.7005, allocations: 89.86 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.7006, allocations: 29.7 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.7006, allocations: 92.06 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.7006, allocations: 3.953 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.7007, allocations: 21.64 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.7008, allocations: 319 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.7008, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.18e-05/0.7008, allocations: 4 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.7008, allocations: 16.84 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.7009, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.71e-05/0.7009, allocations: 45.64 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7009, allocations: 8 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.701, allocations: 3.984 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.701, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.097e-05/0.701, allocations: 11.94 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.701, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.7011, allocations: 11.89 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.7011, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 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 5.998e-05/0.7011, allocations: 105.8 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-06/0.7012, allocations: 3.938 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.7013, allocations: 53.52 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7013, allocations: 4 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7013, allocations: 8.031 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.7013, allocations: 3.984 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.983e-05/0.7014, allocations: 149.7 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7014, allocations: 3.938 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.7014, allocations: 15.86 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7015, allocations: 0 / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.7015, allocations: 0 / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.7015, allocations: 4 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7015, allocations: 0 / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.759e-05/0.7016, allocations: 69.12 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.7016, allocations: 81.05 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.7016, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.7016, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.7016, allocations: 8 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.7017, allocations: 3.984 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.7017, allocations: 75.28 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7017, allocations: 0 / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002213/0.7019, allocations: 28.03 kB / 1.171 GB, free: 14.07 MB / 0.9044 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.0004353/0.7024, allocations: 0.6473 MB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.686e-05/0.7025, allocations: 15.98 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7025, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.7025, allocations: 15.94 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.7027, allocations: 12.45 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.703, allocations: 139.5 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.7032, allocations: 0.6768 MB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.554e-05/0.7032, allocations: 8 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.7033, allocations: 20.5 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of SimCode: time 6.02e-07/0.7033, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.7189, allocations: 1.761 MB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.84, allocations: 14.52 kB / 1.175 GB, free: 10.82 MB / 0.9044 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