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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.591/2.591, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002782/0.002782, allocations: 67.91 kB / 1.107 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9195/0.9223, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.0023/0.9246, allocations: 1.304 MB / 1.273 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.9258, allocations: 0.7459 MB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.9258, allocations: 0.8438 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.9258, allocations: 0.9375 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.9259, allocations: 5.453 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.9262, allocations: 90 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.9263, allocations: 26.77 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.9263, allocations: 2.297 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.9263, allocations: 3.844 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.9264, allocations: 5.172 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.9264, allocations: 1.062 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.9268, allocations: 149.7 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.9268, allocations: 8.984 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.9268, allocations: 6.656 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.927, allocations: 112.3 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.927, allocations: 0 / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.927, allocations: 0.8438 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.927, allocations: 0 / 1.274 GB, free: 6.16 MB / 0.9981 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.0003245/0.9274, allocations: 337.2 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9274, allocations: 10.75 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.9274, allocations: 31.41 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.9275, allocations: 2.531 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.246e-05/0.9275, allocations: 166.3 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.9275, allocations: 5.062 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.9276, allocations: 1.922 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.539e-05/0.9277, allocations: 43.3 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.9277, allocations: 0 / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.9277, allocations: 0 / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.9277, allocations: 4.875 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.9277, allocations: 10.27 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.9278, allocations: 153.8 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.625e-05/0.9279, allocations: 34.7 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.928, allocations: 15.16 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/0.9297, allocations: 0.6543 MB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.9297, allocations: 34.5 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.9297, allocations: 1.188 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001608/0.9299, allocations: 50.31 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.9299, allocations: 56.66 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.9299, allocations: 94.2 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.9299, allocations: 30.67 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.496e-05/0.93, allocations: 80.14 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.93, allocations: 13.3 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.93, allocations: 15.75 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.9301, allocations: 311.4 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.9301, allocations: 3.484 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.9301, allocations: 9.812 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.9301, allocations: 23.64 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9301, allocations: 4.625 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.714e-05/0.9302, allocations: 49.08 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9302, allocations: 5.031 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.9302, allocations: 0 / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9302, allocations: 0.6562 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.9303, allocations: 5.703 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9303, allocations: 1.312 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.9303, allocations: 7.938 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.9303, allocations: 6.797 kB / 1.276 GB, free: 4.078 MB / 0.9981 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 4.534e-05/0.9304, allocations: 112.2 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-06/0.9304, allocations: 4.812 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.9305, allocations: 59.92 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9305, allocations: 0 / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9305, allocations: 4.875 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.9305, allocations: 0 / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.269e-05/0.9306, allocations: 149.7 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.9306, allocations: 0.6875 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.9306, allocations: 8.281 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9306, allocations: 0.9375 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.9306, allocations: 4.812 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9306, allocations: 0 / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9306, allocations: 2.391 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.791e-05/0.9307, allocations: 73.22 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.9307, allocations: 85.75 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.9307, allocations: 1.578 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.9307, allocations: 0 / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.9307, allocations: 2.688 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.9307, allocations: 5.656 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.785e-05/0.9307, allocations: 77.5 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9307, allocations: 1.031 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002319/0.931, allocations: 34.88 kB / 1.277 GB, free: 3.441 MB / 0.9981 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.0003756/0.9314, allocations: 0.6358 MB / 1.277 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.622e-05/0.9314, allocations: 19.47 kB / 1.277 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9315, allocations: 0.8438 kB / 1.277 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.9315, allocations: 6.438 kB / 1.277 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.9316, allocations: 11.8 kB / 1.277 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.932, allocations: 154.2 kB / 1.278 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.9322, allocations: 0.6758 MB / 1.278 GB, free: 17.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.9322, allocations: 6.438 kB / 1.278 GB, free: 17.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.9322, allocations: 9.312 kB / 1.278 GB, free: 17.96 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.9322, allocations: 3.938 kB / 1.278 GB, free: 17.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.9598, allocations: 1.742 MB / 1.28 GB, free: 17.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.675, allocations: 7.031 kB / 1.28 GB, free: 17.55 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.382016753981588]