Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00163/0.00163, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002327/0.002327, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.663/1.663, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.76/3.76, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [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.002136/0.002136, allocations: 65.81 kB / 1.186 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4352, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002744/0.4379, allocations: 1.306 MB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.4393, allocations: 0.7144 MB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.4394, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.4394, allocations: 7.922 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.4394, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.4398, allocations: 99.91 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.4399, allocations: 19.86 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.4399, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.043e-05/0.4399, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.44, allocations: 11.94 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.44, allocations: 4 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.4403, allocations: 148 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.4403, allocations: 3.938 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.4404, allocations: 4 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.4406, allocations: 111.7 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4406, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4406, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4406, allocations: 0 / 1.366 GB, free: 11.15 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.000415/0.441, allocations: 254.3 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4411, allocations: 8.031 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.4411, allocations: 0.9375 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4412, allocations: 114.5 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.4412, allocations: 384 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4412, allocations: 3.938 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.4413, allocations: 37.62 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4413, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.4414, allocations: 4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4414, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.4414, allocations: 11.98 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.4416, allocations: 105.3 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.4417, allocations: 34.61 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.4417, allocations: 12.92 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/0.4434, allocations: 372.5 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4435, allocations: 38.5 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4435, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001755/0.4436, allocations: 49.67 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.4437, allocations: 55.41 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.4438, allocations: 93.84 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.4438, allocations: 25.7 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.4439, allocations: 88.14 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4439, allocations: 3.953 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.4439, allocations: 13.72 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4441, allocations: 315 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.4441, allocations: 11.94 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.4441, allocations: 7.984 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.4442, allocations: 16.8 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4442, allocations: 4 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.473e-05/0.4442, allocations: 45.62 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4442, allocations: 8 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4443, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4443, allocations: 3.938 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.4443, allocations: 4 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4443, allocations: 0 / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.4443, allocations: 11.95 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4444, allocations: 4 kB / 1.368 GB, free: 9.254 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 8.412e-05/0.4444, allocations: 105.8 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.4445, allocations: 15.86 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.4446, allocations: 53.38 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4446, allocations: 0 / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4446, allocations: 0 / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.4446, allocations: 0 / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.4447, allocations: 101.3 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4447, allocations: 0 / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.4447, allocations: 11.98 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4447, allocations: 3.938 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4447, allocations: 4 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4447, allocations: 0 / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4447, allocations: 0 / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.689e-05/0.4448, allocations: 69.06 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.4448, allocations: 7.938 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.4448, allocations: 4 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.4449, allocations: 0 / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.4449, allocations: 4 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.4449, allocations: 3.984 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.4449, allocations: 83.28 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4449, allocations: 0 / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002365/0.4452, allocations: 31.88 kB / 1.368 GB, free: 8.691 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.0002665/0.4454, allocations: 123.5 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.4455, allocations: 32 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4455, allocations: 0 / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.4456, allocations: 4 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.4457, allocations: 7.938 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.446, allocations: 116.9 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.372e-05/0.4461, allocations: 59.34 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.4461, allocations: 4 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.4461, allocations: 11.44 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4461, allocations: 0 / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of Templates: time 0.003649/0.4498, allocations: 0.9194 MB / 1.37 GB, free: 7.383 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.403656031936407]