Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.86/0.86, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.604/1.604, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.605e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002201/0.002227, allocations: 1.31 MB / 0.9518 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009854/0.003213, allocations: 0.7293 MB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.003252, allocations: 0 / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.003281, allocations: 0 / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.003343, allocations: 7.938 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.00371, allocations: 103.8 kB / 0.9526 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.663e-05/0.003767, allocations: 15.88 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.003809, allocations: 4 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.003842, allocations: 7.984 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.00389, allocations: 8 kB / 0.9527 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.003904, allocations: 0 / 0.9527 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.004154, allocations: 140 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.004171, allocations: 0 / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.004195, allocations: 15.92 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.004394, allocations: 127.7 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.004397, allocations: 0 / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.734e-06/0.004398, allocations: 3.938 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.004402, allocations: 0 / 0.9529 GB, free: 0.9883 MB / 0.9011 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.0003771/0.004779, allocations: 254.3 kB / 0.9532 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.004832, allocations: 8.031 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.004873, allocations: 42.73 kB / 0.9532 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.004895, allocations: 4.875 kB / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.004991, allocations: 101.8 kB / 0.9533 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005006, allocations: 4.375 kB / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.005014, allocations: 4.375 kB / 0.9533 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.005117, allocations: 38.25 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.005125, allocations: 192 / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.005133, allocations: 4.125 kB / 0.9534 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.005137, allocations: 0 / 0.9534 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.898e-05/0.005176, allocations: 11.98 kB / 0.9534 GB, free: 468 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.005292, allocations: 124.7 kB / 0.9535 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.461e-05/0.005367, allocations: 42.48 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.005387, allocations: 8.922 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008759/0.006262, allocations: 368.6 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.006283, allocations: 34.56 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.006284, allocations: 0 / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0001443/0.006429, allocations: 53.56 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.006462, allocations: 55.34 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.274e-05/0.006515, allocations: 101.8 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.006524, allocations: 25.7 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.00655, allocations: 84.12 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.006575, allocations: 7.953 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.006599, allocations: 17.72 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.006671, allocations: 310.8 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.006684, allocations: 4 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-06/0.006694, allocations: 3.984 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.006722, allocations: 20.98 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006724, allocations: 0 / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.02e-05/0.006774, allocations: 49.62 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.006788, allocations: 10.03 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006793, allocations: 0 / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.006805, allocations: 3.938 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.006848, allocations: 4 kB / 0.9547 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.006853, allocations: 0 / 0.9547 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.006864, allocations: 4.281 kB / 0.9547 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.00687, allocations: 8 kB / 0.9547 GB, free: 15.02 MB / 0.9167 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.288e-05/0.006922, allocations: 113.8 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-06/0.006927, allocations: 3.984 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.26e-05/0.00702, allocations: 57.3 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007023, allocations: 7.938 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.007028, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007031, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.827e-05/0.007109, allocations: 124.8 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.00711, allocations: 0 / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.007122, allocations: 7.938 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007125, allocations: 0 / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.007134, allocations: 8 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.007137, allocations: 7.875 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.007138, allocations: 0 / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.712e-05/0.007195, allocations: 65.12 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-06/0.0072, allocations: 0 / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.00721, allocations: 8 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.007216, allocations: 3.938 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.007229, allocations: 3.984 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.007231, allocations: 0 / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.007255, allocations: 79.28 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007256, allocations: 96 / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001649/0.00742, allocations: 35.88 kB / 0.9552 GB, free: 14.42 MB / 0.9167 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.000335/0.007755, allocations: 0.6357 MB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.007828, allocations: 8 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00783, allocations: 0 / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-06/0.00784, allocations: 11.94 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.007992, allocations: 19.86 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.008296, allocations: 134.5 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.972e-05/0.008335, allocations: 63.34 kB / 0.956 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.008356, allocations: 3.938 kB / 0.956 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.008382, allocations: 12.5 kB / 0.956 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of SimCode: time 7.81e-07/0.008383, allocations: 0 / 0.956 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.02479, allocations: 2.438 MB / 0.9584 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.481, allocations: 2.625 kB / 0.9584 GB, free: 11.17 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.433659522794187]