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.001759/0.001759, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001878/0.001878, allocations: 186 kB / 20.78 MB, free: 1.547 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.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.739/2.739, 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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.89 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9416, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002181/0.9437, allocations: 1.305 MB / 1.273 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.9449, allocations: 0.7384 MB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.9449, allocations: 0.7812 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.9449, allocations: 8.531 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.9449, allocations: 1.531 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.9453, allocations: 94.55 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.186e-05/0.9453, allocations: 13.64 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.9454, allocations: 6.656 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.9454, allocations: 7.812 kB / 1.274 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.9454, allocations: 13.48 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.9454, allocations: 1.156 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.9457, allocations: 150.4 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.9458, allocations: 0.8438 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.9458, allocations: 3.062 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.946, allocations: 111.5 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.946, allocations: 0 / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.946, allocations: 2.656 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.946, allocations: 0 / 1.274 GB, free: 6.383 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.0002925/0.9463, allocations: 329.1 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.9463, allocations: 13.38 kB / 1.275 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.9463, allocations: 5.766 kB / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.32e-05/0.9464, allocations: 170.4 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.9464, allocations: 1.531 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.9464, allocations: 5.25 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.318e-05/0.9465, allocations: 41.83 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9465, allocations: 0 / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.9465, allocations: 0 / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.9465, allocations: 0.9375 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.9466, allocations: 14.02 kB / 1.275 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.9467, allocations: 159.2 kB / 1.275 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.746e-05/0.9468, allocations: 31.78 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.9468, allocations: 14.45 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/0.9485, allocations: 0.6531 MB / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.9485, allocations: 44.14 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.9485, allocations: 0 / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001411/0.9487, allocations: 47.09 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.9487, allocations: 58.33 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.489e-05/0.9487, allocations: 92.33 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-06/0.9487, allocations: 26.67 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.287e-05/0.9488, allocations: 80.14 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.9488, allocations: 11.02 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.9488, allocations: 13.33 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.9488, allocations: 317 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.9489, allocations: 8.719 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.9489, allocations: 6.75 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/0.9489, allocations: 17.22 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.9489, allocations: 0.7812 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.175e-05/0.949, allocations: 47.33 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.949, allocations: 12.62 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.949, allocations: 0 / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.949, allocations: 0.7812 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-05/0.9491, allocations: 5.125 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.9491, allocations: 0.9375 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.9491, allocations: 1.219 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.9491, allocations: 9.875 kB / 1.277 GB, free: 4.344 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.982e-05/0.9491, allocations: 107.9 kB / 1.277 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.9491, allocations: 5.844 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.9492, allocations: 62.33 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.9492, allocations: 1.25 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9492, allocations: 0 / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9492, allocations: 0.7969 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.033e-05/0.9493, allocations: 156.5 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9493, allocations: 9 kB / 1.277 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.9493, allocations: 9.516 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9493, allocations: 3.938 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.9493, allocations: 1.625 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.9493, allocations: 1.125 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9493, allocations: 3.938 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.911e-05/0.9494, allocations: 66.08 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.9494, allocations: 89.59 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.9494, allocations: 7.047 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.9495, allocations: 0 / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.9495, allocations: 1 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.9495, allocations: 3.281 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.558e-05/0.9495, allocations: 80.41 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9495, allocations: 0 / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000234/0.9497, allocations: 28.69 kB / 1.277 GB, free: 3.699 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.0002157/0.9499, allocations: 131.2 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.821e-05/0.95, allocations: 19.19 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.95, allocations: 0.6875 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.95, allocations: 5.562 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.9502, allocations: 4.188 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.9505, allocations: 121.1 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.9506, allocations: 0.6718 MB / 1.278 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.9506, allocations: 7.625 kB / 1.278 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.9506, allocations: 13.59 kB / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.9506, allocations: 0 / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.003295/0.9539, allocations: 0.9172 MB / 1.279 GB, free: 2.652 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 400] 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/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: 8.817947406321764]