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.001055/0.001055, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002234, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007824/0.0007824, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009816/0.001764, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.021/1.021, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1251/1.146, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.396/2.396, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2476/2.644, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.615e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001944/0.00197, allocations: 1.399 MB / 0.8197 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000985/0.002955, allocations: 0.7755 MB / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.002979, allocations: 0 / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.002991, allocations: 7.922 kB / 0.8204 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.971e-05/0.00302, allocations: 3.938 kB / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.003235, allocations: 83.91 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.003293, allocations: 19.86 kB / 0.8205 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.003334, allocations: 4 kB / 0.8206 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.00339, allocations: 15.98 kB / 0.8206 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.00344, allocations: 7.938 kB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.003456, allocations: 0 / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.003722, allocations: 156 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.003735, allocations: 0 / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.003749, allocations: 4 kB / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.003913, allocations: 99.72 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.003927, allocations: 0 / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.162e-06/0.003929, allocations: 0 / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.003944, allocations: 0 / 0.8208 GB, free: 296 kB / 0.7917 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.0003335/0.004277, allocations: 248.5 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.004313, allocations: 8.031 kB / 0.8211 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.00434, allocations: 4.922 kB / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/0.004435, allocations: 105.8 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.004446, allocations: 4.375 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.004454, allocations: 4.375 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.273e-05/0.004527, allocations: 37.75 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.004533, allocations: 0 / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.00454, allocations: 4 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004544, allocations: 0 / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.004567, allocations: 4 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.789e-05/0.004655, allocations: 61.05 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.00473, allocations: 30.61 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.004744, allocations: 4.859 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/0.005463, allocations: 320.6 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.005487, allocations: 34.5 kB / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.005488, allocations: 0 / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001027/0.005591, allocations: 49.62 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.005624, allocations: 55.41 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.005674, allocations: 98.72 kB / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.005682, allocations: 29.64 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.891e-05/0.005701, allocations: 80.14 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.005728, allocations: 11.89 kB / 0.822 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.00575, allocations: 21.7 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.005827, allocations: 310.8 kB / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-06/0.005834, allocations: 4 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-06/0.005842, allocations: 4 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.005867, allocations: 16.78 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.005869, allocations: 4.125 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.893e-05/0.005918, allocations: 42.02 kB / 0.8224 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.005932, allocations: 4 kB / 0.8224 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.005938, allocations: 3.984 kB / 0.8224 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.00595, allocations: 7.938 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/0.006003, allocations: 4 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.006007, allocations: 0 / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.006018, allocations: 0 / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.006022, allocations: 0 / 0.8224 GB, free: 14.55 MB / 0.8073 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 6.314e-05/0.006085, allocations: 113.8 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.006091, allocations: 7.984 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.71e-05/0.006178, allocations: 45.38 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.006182, allocations: 3.938 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.006183, allocations: 0 / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.006189, allocations: 4 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.146e-05/0.00625, allocations: 65.89 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006251, allocations: 0 / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.006272, allocations: 4 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.006279, allocations: 3.984 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.00628, allocations: 0 / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-06/0.006284, allocations: 8 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006284, allocations: 0 / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.006287, allocations: 3.938 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.706e-05/0.006344, allocations: 65.06 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.006353, allocations: 4 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-06/0.006358, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.006371, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.006374, allocations: 3.938 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.152e-05/0.006385, allocations: 16.78 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006385, allocations: 0 / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001385/0.006524, allocations: 31.97 kB / 0.8227 GB, free: 14.12 MB / 0.8073 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.0001884/0.006712, allocations: 112.3 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.561e-05/0.006778, allocations: 16.78 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.006783, allocations: 8 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.795e-06/0.006791, allocations: 8.859 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.00692, allocations: 15.98 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.007522, allocations: 125.1 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.007555, allocations: 55.36 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.00758, allocations: 0 / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.007627, allocations: 55.36 kB / 0.8231 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of SimCode: time 1.042e-06/0.007628, allocations: 0 / 0.8231 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.002598/0.01023, allocations: 1.081 MB / 0.8242 GB, free: 12.61 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.353558840230107]