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.001566/0.001566, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001804/0.001804, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.669/2.669, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="cs",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.001928/0.001928, allocations: 63.72 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.283, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00249/0.2855, allocations: 1.304 MB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2868, allocations: 0.7191 MB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.2868, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.2869, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.2869, allocations: 11.92 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.2873, allocations: 91.91 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.2874, allocations: 15.92 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.2874, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.2874, allocations: 8 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.2875, allocations: 11.94 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2875, allocations: 0 / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.2878, allocations: 156 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.2879, allocations: 0 / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.2879, allocations: 4 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.2881, allocations: 112.6 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2881, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2881, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.2881, allocations: 0 / 1.286 GB, free: 8.223 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.0003711/0.2885, allocations: 262.2 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2885, allocations: 12.03 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.581e-05/0.2885, allocations: 192 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.2886, allocations: 38.75 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.2886, allocations: 0.9375 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2887, allocations: 106.5 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2887, allocations: 384 / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-06/0.2887, allocations: 4.375 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.2888, allocations: 41.62 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2888, allocations: 0 / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2888, allocations: 4 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2888, allocations: 4 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.2889, allocations: 15.92 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.2891, allocations: 124.7 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.499e-05/0.2891, allocations: 34.61 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.2892, allocations: 8.922 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/0.2908, allocations: 368.5 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.2909, allocations: 34.56 kB / 1.287 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2909, allocations: 0 / 1.287 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000162/0.291, allocations: 49.62 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2911, allocations: 55.34 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.2912, allocations: 101.8 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2912, allocations: 25.7 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.2912, allocations: 84.27 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.2912, allocations: 11.91 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.2913, allocations: 17.72 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2914, allocations: 314.8 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.2914, allocations: 4 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.2914, allocations: 4 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.2915, allocations: 12.86 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2915, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.389e-05/0.2916, allocations: 53.56 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2916, allocations: 8 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2916, allocations: 0 / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2916, allocations: 4 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.2916, allocations: 4 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2916, allocations: 0 / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.2917, allocations: 0 / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.2917, allocations: 11.98 kB / 1.288 GB, free: 6.246 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.255e-05/0.2917, allocations: 105.8 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.2918, allocations: 4.266 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.2919, allocations: 57.3 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2919, allocations: 4 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2919, allocations: 4 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2919, allocations: 0 / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.292, allocations: 124.8 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.292, allocations: 3.938 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.292, allocations: 4 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.292, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.292, allocations: 3.938 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.292, allocations: 4 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.292, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.629e-05/0.2921, allocations: 77.02 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.2921, allocations: 3.938 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2921, allocations: 11.94 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.682e-05/0.2922, allocations: 7.984 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.2922, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-06/0.2922, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.2922, allocations: 79.28 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2922, allocations: 0 / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002269/0.2924, allocations: 35.88 kB / 1.289 GB, free: 5.648 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.0005389/0.293, allocations: 0.632 MB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.2931, allocations: 15.94 kB / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2931, allocations: 0 / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.2931, allocations: 11.98 kB / 1.289 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.2933, allocations: 10.06 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.2937, allocations: 147.7 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.2937, allocations: 67.28 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.2938, allocations: 4 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.2938, allocations: 7.438 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.2938, allocations: 0 / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3157, allocations: 1.936 MB / 1.291 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.1, allocations: 16.56 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB " [Timeout remaining time 289] (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.321368969976902]