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.0052/0.005201, allocations: 98.48 kB / 15.73 MB, free: 6.004 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.001238/0.001238, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.401/2.401, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2438, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002289/0.2461, allocations: 1.282 MB / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2472, allocations: 0.7339 MB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.2473, allocations: 4 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.2473, allocations: 3.938 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.2474, allocations: 7.922 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.2478, allocations: 91.97 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.2478, allocations: 19.86 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.2479, allocations: 0 / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.2479, allocations: 7.938 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.2479, allocations: 8 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.248, allocations: 4 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.2483, allocations: 148 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.2483, allocations: 7.984 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.2483, allocations: 7.938 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.2485, allocations: 96.06 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2485, allocations: 4 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2485, allocations: 0 / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2485, allocations: 0 / 1.169 GB, free: 4.863 MB / 0.92 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.0003133/0.2489, allocations: 339.3 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2489, allocations: 8.031 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.2489, allocations: 38.69 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.249, allocations: 4.938 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.2491, allocations: 168.4 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2491, allocations: 384 / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.2491, allocations: 4.375 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.121e-05/0.2492, allocations: 33.83 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2492, allocations: 0 / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.2492, allocations: 4 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2492, allocations: 0 / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.2493, allocations: 11.98 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.2494, allocations: 161.7 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.868e-05/0.2495, allocations: 34.52 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.2495, allocations: 12.91 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/0.2512, allocations: 0.6534 MB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2512, allocations: 34.5 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2512, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001393/0.2514, allocations: 53.62 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2514, allocations: 55.41 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.599e-05/0.2515, allocations: 93.86 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2515, allocations: 25.7 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.2515, allocations: 88.12 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.2516, allocations: 7.891 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.2516, allocations: 13.72 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.2517, allocations: 314.8 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.2517, allocations: 7.938 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.2517, allocations: 12.11 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.2518, allocations: 16.86 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2518, allocations: 0 / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.92e-05/0.2519, allocations: 53.84 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2519, allocations: 4 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2519, allocations: 0 / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2519, allocations: 3.984 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.252, allocations: 7.984 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.252, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.252, allocations: 7.953 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-06/0.252, allocations: 4 kB / 1.171 GB, free: 2.312 MB / 0.92 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.702e-05/0.2521, allocations: 105.8 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.2521, allocations: 7.938 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2522, allocations: 57.17 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2522, allocations: 3.938 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2522, allocations: 0 / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2522, allocations: 0 / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.127e-05/0.2523, allocations: 153.7 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2523, allocations: 4 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.2523, allocations: 7.938 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2524, allocations: 0 / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2524, allocations: 4 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2524, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2524, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.064e-05/0.2525, allocations: 65.12 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.2525, allocations: 81.05 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.2525, allocations: 8 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.2525, allocations: 0 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.2526, allocations: 11.98 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.2526, allocations: 0 / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.2526, allocations: 83.22 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2526, allocations: 3.938 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002176/0.2528, allocations: 27.88 kB / 1.171 GB, free: 1.594 MB / 0.92 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.0004559/0.2533, allocations: 0.6436 MB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.236e-05/0.2534, allocations: 12 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.2534, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.2534, allocations: 15.94 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.2536, allocations: 9.859 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.254, allocations: 147.5 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.2542, allocations: 0.6729 MB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of simCode: alias equations: time 2.384e-05/0.2542, allocations: 4.047 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.2543, allocations: 15.44 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.2543, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.2709, allocations: 1.767 MB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/7.263, allocations: 3.953 kB / 1.175 GB, free: 14.36 MB / 0.9356 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