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.001493/0.001493, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.001688/0.001688, allocations: 167.2 kB / 22.46 MB, free: 5.359 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.584/1.584, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.102/3.102, allocations: 389 MB / 0.633 GB, free: 1.051 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.477e-05/4.741e-05, allocations: 2.281 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.004377/0.004424, allocations: 1.315 MB / 1.001 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.006586, allocations: 0.7209 MB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.006617, allocations: 4 kB / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.00664, allocations: 0 / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.006744, allocations: 7.875 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.007346, allocations: 91.95 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.722e-05/0.007443, allocations: 15.88 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.907e-05/0.007512, allocations: 8 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.902e-05/0.007571, allocations: 7.984 kB / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.007653, allocations: 8 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.007674, allocations: 4 kB / 1.002 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005842/0.008258, allocations: 147.9 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.23e-05/0.00829, allocations: 7.922 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.008329, allocations: 4 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.008763, allocations: 123.7 kB / 1.003 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.008768, allocations: 0 / 1.003 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/0.008769, allocations: 0 / 1.003 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.008776, allocations: 0 / 1.003 GB, free: 4.844 MB / 0.9512 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.000669/0.009445, allocations: 258.2 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.978e-05/0.009525, allocations: 12.03 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.009579, allocations: 0.9375 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.009767, allocations: 113.8 kB / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.009792, allocations: 4.375 kB / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.009805, allocations: 384 / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.00999, allocations: 37.81 kB / 1.003 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.01001, allocations: 7.922 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.01002, allocations: 3.938 kB / 1.003 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.01003, allocations: 0 / 1.003 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/0.01011, allocations: 19.92 kB / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.01035, allocations: 97.33 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.01057, allocations: 34.67 kB / 1.003 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.01062, allocations: 16.86 kB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002574/0.01319, allocations: 368.6 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.01324, allocations: 38.56 kB / 1.004 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.01325, allocations: 0 / 1.004 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002622/0.01351, allocations: 53.56 kB / 1.004 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.01357, allocations: 51.41 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.01368, allocations: 97.84 kB / 1.004 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.01371, allocations: 25.7 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.01377, allocations: 84.14 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.01382, allocations: 11.89 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.01387, allocations: 9.719 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.01408, allocations: 318.8 kB / 1.004 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.0141, allocations: 4.125 kB / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.01412, allocations: 7.984 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.01418, allocations: 20.8 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01418, allocations: 0 / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001307/0.01431, allocations: 49.64 kB / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.01434, allocations: 10.28 kB / 1.004 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01435, allocations: 0 / 1.004 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.01437, allocations: 4 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.01444, allocations: 4 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01445, allocations: 0 / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.01447, allocations: 0 / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.01448, allocations: 4 kB / 1.004 GB, free: 2.941 MB / 0.9512 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 0.0001175/0.0146, allocations: 110.4 kB / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.01461, allocations: 3.984 kB / 1.004 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.01482, allocations: 65.19 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01482, allocations: 0 / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.01483, allocations: 4 kB / 1.004 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01484, allocations: 384 / 1.004 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.01497, allocations: 101.3 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01497, allocations: 0 / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.01502, allocations: 15.98 kB / 1.005 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01502, allocations: 3.938 kB / 1.005 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.01503, allocations: 0 / 1.005 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.01503, allocations: 3.938 kB / 1.005 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.01504, allocations: 3.984 kB / 1.005 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.01519, allocations: 77.09 kB / 1.005 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.0152, allocations: 3.953 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.01522, allocations: 0 / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/0.01525, allocations: 3.938 kB / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.01527, allocations: 4 kB / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.01527, allocations: 0 / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.928e-05/0.01534, allocations: 87.27 kB / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01534, allocations: 0 / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004709/0.01581, allocations: 27.94 kB / 1.005 GB, free: 2.363 MB / 0.9512 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.0003943/0.0162, allocations: 123.1 kB / 1.005 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01633, allocations: 19.98 kB / 1.005 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01633, allocations: 4.094 kB / 1.005 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.01635, allocations: 7.938 kB / 1.005 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.01668, allocations: 4 kB / 1.005 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.01711, allocations: 100.9 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.116e-05/0.0172, allocations: 59.34 kB / 1.005 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.477e-05/0.01725, allocations: 7.938 kB / 1.005 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.01728, allocations: 12.5 kB / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/0.01728, allocations: 4 kB / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of Templates: time 0.005301/0.02258, allocations: 0.9185 MB / 1.006 GB, free: 1.074 MB / 0.9512 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: 9.074734780937433]