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.001877/0.001877, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002372/0.002372, allocations: 216.3 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 65.91 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3081, allocations: 169.9 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00275/0.3108, allocations: 1.326 MB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3123, allocations: 0.7775 MB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.3123, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.3123, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.3124, allocations: 11.91 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3127, allocations: 83.92 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.3128, allocations: 23.92 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3128, allocations: 7.984 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.283e-05/0.3128, allocations: 7.938 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.3129, allocations: 4 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3129, allocations: 4 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.3133, allocations: 152 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.3133, allocations: 3.984 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.3133, allocations: 7.938 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3135, allocations: 99.3 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3135, allocations: 0 / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3135, allocations: 0 / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.3135, allocations: 4 kB / 1.286 GB, free: 9.188 MB / 0.9825 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.0003545/0.3139, allocations: 270.1 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3139, allocations: 8.031 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.3139, allocations: 38.75 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.314, allocations: 0.9375 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.751e-05/0.3141, allocations: 102.5 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3141, allocations: 4.375 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3141, allocations: 384 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.3142, allocations: 45.75 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3142, allocations: 0 / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3142, allocations: 8 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3142, allocations: 0 / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.3143, allocations: 11.98 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.3144, allocations: 124.8 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.628e-05/0.3145, allocations: 34.67 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.3145, allocations: 12.86 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.3161, allocations: 360.5 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3162, allocations: 42.44 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3162, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001581/0.3163, allocations: 53.67 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3164, allocations: 51.41 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.3164, allocations: 97.84 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3165, allocations: 29.7 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.3165, allocations: 80.14 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.3165, allocations: 7.906 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.3166, allocations: 21.84 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3167, allocations: 314.8 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.3167, allocations: 4 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.3167, allocations: 4 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.3167, allocations: 16.8 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3168, allocations: 4 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.946e-05/0.3168, allocations: 45.62 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3168, allocations: 8 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3169, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3169, allocations: 7.938 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.884e-05/0.3169, allocations: 4 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3169, allocations: 3.984 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.3169, allocations: 3.984 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3169, allocations: 4 kB / 1.288 GB, free: 7.207 MB / 0.9825 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 7.999e-05/0.317, allocations: 109.8 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.317, allocations: 3.938 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3172, allocations: 61.25 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3172, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3172, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3172, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3173, allocations: 128.7 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3173, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.3173, allocations: 7.938 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3173, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3173, allocations: 4 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3173, allocations: 0 / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3173, allocations: 0 / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.3174, allocations: 77.06 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.3175, allocations: 7.922 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3175, allocations: 0 / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.3175, allocations: 8 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.3175, allocations: 0 / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3175, allocations: 432 / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.3175, allocations: 79.28 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3175, allocations: 4.094 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002277/0.3178, allocations: 31.86 kB / 1.288 GB, free: 6.613 MB / 0.9825 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.0005107/0.3183, allocations: 0.6397 MB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.681e-05/0.3184, allocations: 19.98 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3184, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/0.3184, allocations: 4 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.3186, allocations: 5.719 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.319, allocations: 163.6 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.3193, allocations: 0.6729 MB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.3193, allocations: 7.938 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.3193, allocations: 11.44 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.3193, allocations: 0 / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/0.3726, allocations: 1.854 MB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.2, allocations: 12.22 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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/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: 17.647583480924368]