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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 249.9 MB, free: 3.199 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7634 GB, free: 15.37 MB / 0.6075 GB [Timeout remaining time 86] 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=501,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=501,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.001917/0.001917, allocations: 63.91 kB / 1.108 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 168.7 MB / 1.272 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002626/1.095, allocations: 1.291 MB / 1.274 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001274/1.096, allocations: 0.7357 MB / 1.274 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/1.096, allocations: 1 kB / 1.274 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/1.096, allocations: 0.75 kB / 1.274 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/1.096, allocations: 5.406 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/1.097, allocations: 101.9 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.641e-05/1.097, allocations: 18.73 kB / 1.275 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/1.097, allocations: 2.094 kB / 1.275 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/1.097, allocations: 5.328 kB / 1.275 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/1.097, allocations: 15.09 kB / 1.275 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/1.097, allocations: 1 kB / 1.275 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/1.097, allocations: 141.5 kB / 1.275 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/1.097, allocations: 6.125 kB / 1.275 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/1.097, allocations: 8.125 kB / 1.275 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/1.098, allocations: 116.8 kB / 1.275 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.098, allocations: 0 / 1.275 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/1.098, allocations: 0.8125 kB / 1.275 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.582e-06/1.098, allocations: 0 / 1.275 GB, free: 6.422 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.0003561/1.098, allocations: 332.9 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.098, allocations: 9.188 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/1.098, allocations: 1.906 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/1.098, allocations: 167.1 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/1.098, allocations: 1.031 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/1.098, allocations: 10.34 kB / 1.275 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/1.098, allocations: 36.48 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.098, allocations: 0 / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/1.098, allocations: 0.7812 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/1.098, allocations: 0.9375 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.496e-05/1.098, allocations: 16.06 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/1.099, allocations: 153.1 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/1.099, allocations: 34.56 kB / 1.276 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/1.099, allocations: 17.91 kB / 1.276 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/1.1, allocations: 0.6552 MB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/1.1, allocations: 39.31 kB / 1.276 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.1, allocations: 0.8438 kB / 1.276 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001766/1.101, allocations: 50.08 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/1.101, allocations: 53.67 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.619e-05/1.101, allocations: 92.61 kB / 1.276 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/1.101, allocations: 28.2 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.049e-05/1.101, allocations: 84.27 kB / 1.277 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/1.101, allocations: 13.39 kB / 1.277 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/1.101, allocations: 15.06 kB / 1.277 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.219e-05/1.101, allocations: 312 kB / 1.277 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/1.101, allocations: 10 kB / 1.277 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/1.101, allocations: 2.531 kB / 1.277 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/1.101, allocations: 20.12 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/1.101, allocations: 0.7812 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.856e-05/1.101, allocations: 55.91 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.101, allocations: 9.688 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.101, allocations: 0 / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.101, allocations: 2.578 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/1.101, allocations: 4.719 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.101, allocations: 0 / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/1.101, allocations: 0.9062 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/1.101, allocations: 0.7188 kB / 1.277 GB, free: 4.387 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 5.073e-05/1.101, allocations: 109.5 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/1.101, allocations: 13.44 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/1.101, allocations: 58.91 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.101, allocations: 0 / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.101, allocations: 1.094 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.101, allocations: 0 / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.664e-05/1.101, allocations: 153.2 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.101, allocations: 1.156 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/1.101, allocations: 8.125 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.101, allocations: 5.25 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/1.101, allocations: 0.8125 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/1.101, allocations: 4.75 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.101, allocations: 0.6875 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.939e-05/1.101, allocations: 70.33 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/1.101, allocations: 89.56 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/1.102, allocations: 0.8125 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/1.102, allocations: 0.7812 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/1.102, allocations: 1.906 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/1.102, allocations: 6.656 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.244e-05/1.102, allocations: 77.09 kB / 1.278 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.102, allocations: 0 / 1.278 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002438/1.102, allocations: 37.52 kB / 1.278 GB, free: 3.742 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.0002527/1.102, allocations: 128.4 kB / 1.278 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.94e-05/1.102, allocations: 16.2 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.102, allocations: 0.875 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/1.102, allocations: 10.36 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/1.102, allocations: 3.922 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/1.103, allocations: 133.1 kB / 1.278 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/1.103, allocations: 0.6752 MB / 1.278 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/1.103, allocations: 9.188 kB / 1.279 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/1.103, allocations: 8.938 kB / 1.279 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of Templates: time 0.002862/1.106, allocations: 0.904 MB / 1.279 GB, free: 2.719 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/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