Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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.001125/0.001125, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002698, allocations: 440 kB / 10.41 MB, free: 284 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.001039/0.001039, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002384, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9677/0.9677, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09212/1.06, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.325/2.325, allocations: 447.1 MB / 0.675 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2345/2.56, allocations: 146 MB / 0.8176 GB, free: 3.773 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.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.455e-05, allocations: 2.312 kB / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003073/0.003098, allocations: 1.81 MB / 0.8207 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.004081, allocations: 0.7788 MB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.004137, allocations: 0 / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.00418, allocations: 11.81 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.00423, allocations: 31.72 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.004497, allocations: 91.66 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.004619, allocations: 111.5 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.00472, allocations: 33.88 kB / 0.8218 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.004839, allocations: 71.88 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.004902, allocations: 43.81 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.004921, allocations: 8 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.005152, allocations: 127.8 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.005171, allocations: 19.94 kB / 0.822 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.005198, allocations: 27.94 kB / 0.822 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.005415, allocations: 131.5 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.005426, allocations: 0 / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005427, allocations: 0 / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.005437, allocations: 0 / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005457/0.005983, allocations: 359.9 kB / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.00602, allocations: 12.03 kB / 0.8225 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.006066, allocations: 12.94 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.879e-05/0.006165, allocations: 129.6 kB / 0.8227 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.006188, allocations: 8.375 kB / 0.8227 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.006204, allocations: 12.38 kB / 0.8227 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.006364, allocations: 94.84 kB / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.006371, allocations: 192 / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.006382, allocations: 4.375 kB / 0.8228 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.006388, allocations: 11.92 kB / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.006431, allocations: 23.94 kB / 0.8228 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.006834, allocations: 243.8 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.007031, allocations: 66.53 kB / 0.8231 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.007066, allocations: 20.84 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.007218, allocations: 39.97 kB / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.00724, allocations: 34.5 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.007241, allocations: 4 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001502/0.007391, allocations: 69.61 kB / 0.8233 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.007419, allocations: 55.41 kB / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.007487, allocations: 133.2 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.007501, allocations: 25.7 kB / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.007554, allocations: 108.2 kB / 0.8236 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.007585, allocations: 23.75 kB / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.00763, allocations: 29.69 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.007737, allocations: 318.8 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.007761, allocations: 8 kB / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.007783, allocations: 7.984 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.007841, allocations: 32.78 kB / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.007843, allocations: 0 / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.556e-05/0.007939, allocations: 61.67 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.007954, allocations: 8 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.007958, allocations: 0 / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.007971, allocations: 0 / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.008086, allocations: 31.92 kB / 0.8241 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.00809, allocations: 3.984 kB / 0.8241 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.008132, allocations: 4 kB / 0.8241 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.00814, allocations: 3.984 kB / 0.8241 GB, free: 12.99 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 (9): * Single equations (assignments): 9 * 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 7.319e-05/0.008213, allocations: 117.8 kB / 0.8242 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.008241, allocations: 4 kB / 0.8242 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.008387, allocations: 78.69 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.008392, allocations: 4 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.008393, allocations: 0 / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008397, allocations: 0 / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.00855, allocations: 109.7 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008551, allocations: 0 / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.816e-05/0.008639, allocations: 19.98 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.008673, allocations: 15.89 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.008676, allocations: 0 / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.008683, allocations: 8 kB / 0.8244 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.008686, allocations: 4 kB / 0.8244 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.008688, allocations: 0 / 0.8244 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.00884, allocations: 163.4 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.008855, allocations: 4 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.008934, allocations: 11.98 kB / 0.8246 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.008974, allocations: 3.984 kB / 0.8246 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.008985, allocations: 4 kB / 0.8246 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.009017, allocations: 20.84 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009017, allocations: 0 / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002303/0.009247, allocations: 27.94 kB / 0.8247 GB, free: 12.35 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 (9): * Single equations (assignments): 9 * 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.0001998/0.009447, allocations: 112.3 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.009549, allocations: 32.84 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.009558, allocations: 4 kB / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.009608, allocations: 32.72 kB / 0.8248 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.009887, allocations: 83.33 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.01069, allocations: 212.8 kB / 0.8251 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/0.01074, allocations: 71.19 kB / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.581e-05/0.01079, allocations: 4 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.01089, allocations: 71.36 kB / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of SimCode: time 1.082e-06/0.01089, allocations: 0 / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.004452/0.01534, allocations: 1.561 MB / 0.8268 GB, free: 10.13 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0486780712381005]