Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001389/0.001389, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001328/0.001328, allocations: 211 kB / 20.13 MB, free: 2.969 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.842/2.842, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_12_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.001906/0.001906, allocations: 63.91 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.132, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00222/1.134, allocations: 1.311 MB / 1.323 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001072/1.135, allocations: 0.7788 MB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/1.135, allocations: 2.25 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/1.135, allocations: 0 / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/1.135, allocations: 3.938 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/1.135, allocations: 89.7 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.086e-05/1.135, allocations: 27.09 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/1.135, allocations: 0 / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/1.135, allocations: 5.594 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/1.135, allocations: 10.59 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/1.135, allocations: 4 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/1.136, allocations: 146.3 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/1.136, allocations: 2.812 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/1.136, allocations: 14.8 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/1.136, allocations: 99.66 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.136, allocations: 4 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/1.136, allocations: 0 / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.136, allocations: 0 / 1.324 GB, free: 23.16 MB / 1.061 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.0003419/1.136, allocations: 345.1 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.136, allocations: 12.52 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.845e-05/1.136, allocations: 4.188 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.059e-05/1.136, allocations: 41.47 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/1.136, allocations: 0.9375 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/1.137, allocations: 160.4 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/1.137, allocations: 3.281 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/1.137, allocations: 384 / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/1.137, allocations: 38.62 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.137, allocations: 0 / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/1.137, allocations: 4 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.137, allocations: 4 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.815e-05/1.137, allocations: 8.734 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/1.137, allocations: 155 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.292e-05/1.137, allocations: 31.14 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/1.137, allocations: 14.09 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/1.139, allocations: 0.6537 MB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/1.139, allocations: 36.73 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/1.139, allocations: 4 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001695/1.139, allocations: 54.16 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/1.139, allocations: 51.41 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/1.139, allocations: 92.48 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/1.139, allocations: 25.7 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.668e-05/1.139, allocations: 87.23 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/1.139, allocations: 11.23 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/1.139, allocations: 12.53 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.642e-05/1.139, allocations: 321.7 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/1.139, allocations: 2.969 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/1.139, allocations: 5.859 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/1.139, allocations: 13.98 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.139, allocations: 2.75 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.993e-05/1.139, allocations: 52.17 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.139, allocations: 5.969 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.139, allocations: 0 / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.139, allocations: 0 / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/1.139, allocations: 5.438 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.139, allocations: 11.88 kB / 1.326 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/1.139, allocations: 3.938 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/1.139, allocations: 0 / 1.326 GB, free: 21.07 MB / 1.061 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.471e-05/1.139, allocations: 112 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/1.139, allocations: 7.938 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/1.139, allocations: 54.81 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.139, allocations: 3.938 kB / 1.326 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.139, allocations: 4 kB / 1.326 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.139, allocations: 0 / 1.326 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.781e-05/1.14, allocations: 154.4 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.14, allocations: 7.938 kB / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/1.14, allocations: 8.875 kB / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.14, allocations: 0 / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/1.14, allocations: 0 / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.14, allocations: 0 / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.14, allocations: 0 / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.902e-05/1.14, allocations: 70.38 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/1.14, allocations: 81.05 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/1.14, allocations: 3.328 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/1.14, allocations: 2.75 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/1.14, allocations: 4 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/1.14, allocations: 2.719 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.937e-05/1.14, allocations: 79.22 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.14, allocations: 0 / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002213/1.14, allocations: 29.45 kB / 1.327 GB, free: 20.45 MB / 1.061 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.0003914/1.14, allocations: 0.6433 MB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001004/1.14, allocations: 15.42 kB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.14, allocations: 4 kB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/1.14, allocations: 9.781 kB / 1.327 GB, free: 19.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/1.141, allocations: 9.828 kB / 1.327 GB, free: 19.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/1.141, allocations: 155.4 kB / 1.328 GB, free: 19.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/1.141, allocations: 0.6754 MB / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.524e-05/1.141, allocations: 6.938 kB / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/1.141, allocations: 13.97 kB / 1.328 GB, free: 18.94 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.141, allocations: 0 / 1.328 GB, free: 18.94 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/1.159, allocations: 1.803 MB / 1.33 GB, free: 18.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/9.59, allocations: 13.86 kB / 1.33 GB, free: 18.55 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.922906274034176]