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.00147/0.00147, allocations: 108 kB / 15.6 MB, free: 132 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.001745/0.001745, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.267/2.267, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 67.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4974, allocations: 140.4 MB / 0.9497 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001867/0.4993, allocations: 1.282 MB / 0.951 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007976/0.5001, allocations: 0.7228 MB / 0.9517 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.5001, allocations: 1.25 kB / 0.9517 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.5002, allocations: 0 / 0.9517 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.5002, allocations: 7.922 kB / 0.9517 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.5005, allocations: 89.81 kB / 0.9518 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.087e-05/0.5005, allocations: 19.69 kB / 0.9518 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.5006, allocations: 5.391 kB / 0.9518 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.5006, allocations: 7.062 kB / 0.9518 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.5006, allocations: 12.55 kB / 0.9518 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.5007, allocations: 0 / 0.9518 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.5009, allocations: 143.9 kB / 0.952 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.689e-06/0.501, allocations: 5.125 kB / 0.952 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.501, allocations: 11.52 kB / 0.952 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.5011, allocations: 95.08 kB / 0.9521 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5012, allocations: 8.938 kB / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5012, allocations: 0 / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.5012, allocations: 0 / 0.9521 GB, free: 7.438 MB / 0.7169 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.0002266/0.5014, allocations: 341.3 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.5014, allocations: 10.16 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.81e-05/0.5015, allocations: 30.75 kB / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.967e-05/0.5015, allocations: 6 kB / 0.9524 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.826e-05/0.5015, allocations: 169.3 kB / 0.9526 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.5016, allocations: 5.5 kB / 0.9526 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.5016, allocations: 9 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.629e-05/0.5016, allocations: 42.23 kB / 0.9527 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.5017, allocations: 4.844 kB / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.5017, allocations: 0 / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5017, allocations: 0.9375 kB / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.5017, allocations: 9.594 kB / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.044e-05/0.5018, allocations: 154 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.5019, allocations: 42.11 kB / 0.9529 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.5019, allocations: 14.05 kB / 0.9529 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/0.5035, allocations: 0.6519 MB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.135e-05/0.5035, allocations: 39.64 kB / 0.9536 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5035, allocations: 0 / 0.9536 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001141/0.5036, allocations: 43.55 kB / 0.9536 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.715e-05/0.5036, allocations: 56.45 kB / 0.9536 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.46e-05/0.5037, allocations: 95.89 kB / 0.9537 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.5037, allocations: 26.64 kB / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.049e-05/0.5037, allocations: 84.27 kB / 0.9538 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.5037, allocations: 17.91 kB / 0.9539 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.5038, allocations: 12.88 kB / 0.9539 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.5038, allocations: 318.8 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.5038, allocations: 3.031 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.5038, allocations: 3.656 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.873e-05/0.5039, allocations: 16.08 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5039, allocations: 3.938 kB / 0.9542 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.505e-05/0.5039, allocations: 49.88 kB / 0.9543 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.5039, allocations: 9.531 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5039, allocations: 1.438 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.504, allocations: 3.938 kB / 0.9543 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.316e-05/0.504, allocations: 4.062 kB / 0.9543 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.504, allocations: 5.078 kB / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.504, allocations: 0 / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.504, allocations: 1.375 kB / 0.9543 GB, free: 5.223 MB / 0.7169 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 3.407e-05/0.5041, allocations: 112 kB / 0.9544 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.5041, allocations: 1.25 kB / 0.9544 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.902e-05/0.5042, allocations: 61.92 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5042, allocations: 0 / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5042, allocations: 0.9844 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.5042, allocations: 3.984 kB / 0.9544 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.012e-05/0.5043, allocations: 157.8 kB / 0.9546 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5043, allocations: 0 / 0.9546 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.5043, allocations: 12.28 kB / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.5043, allocations: 1.156 kB / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.5043, allocations: 1.219 kB / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5043, allocations: 7.984 kB / 0.9546 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5043, allocations: 4 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.95e-05/0.5044, allocations: 71.09 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.5044, allocations: 78.45 kB / 0.9548 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.5044, allocations: 1.438 kB / 0.9548 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.5044, allocations: 0 / 0.9548 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.5044, allocations: 1.156 kB / 0.9548 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.5045, allocations: 1.5 kB / 0.9548 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.411e-05/0.5045, allocations: 84.62 kB / 0.9549 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5045, allocations: 0 / 0.9549 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002093/0.5047, allocations: 34.45 kB / 0.9549 GB, free: 4.562 MB / 0.7169 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.000313/0.505, allocations: 0.6389 MB / 0.9555 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.918e-05/0.5051, allocations: 18.17 kB / 0.9555 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5051, allocations: 0 / 0.9555 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.5051, allocations: 14.22 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.5053, allocations: 3.75 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.5056, allocations: 144.6 kB / 0.9557 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.97e-05/0.5057, allocations: 0.6771 MB / 0.9563 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.478e-05/0.5057, allocations: 6.438 kB / 0.9563 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.5057, allocations: 12.88 kB / 0.9564 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5057, allocations: 1.469 kB / 0.9564 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1737/0.6794, allocations: 1.735 MB / 0.9581 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.356, allocations: 12.58 kB / 0.9581 GB, free: 2.117 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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