Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008836/0.0008836, allocations: 87.58 kB / 20.45 MB, free: 4.113 MB / 18.57 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.000936/0.000936, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 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.024/1.024, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.783/1.783, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.035e-05, allocations: 5.5 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002747/0.002777, allocations: 1.761 MB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.004018, allocations: 0.7659 MB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.004096, allocations: 4 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.016e-05/0.004147, allocations: 15.8 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.004226, allocations: 22.27 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.004721, allocations: 99.62 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.004885, allocations: 115.6 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.005009, allocations: 25.3 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.005113, allocations: 65.56 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.005173, allocations: 35.89 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.005195, allocations: 8 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.005481, allocations: 123.8 kB / 0.7901 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.005506, allocations: 24.52 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.005548, allocations: 35.84 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.005783, allocations: 148.7 kB / 0.7903 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.005787, allocations: 0 / 0.7903 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005788, allocations: 0 / 0.7903 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.005794, allocations: 1.312 kB / 0.7903 GB, free: 9.215 MB / 0.7448 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.0005607/0.006355, allocations: 460 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.006405, allocations: 9 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.006465, allocations: 24.84 kB / 0.7908 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.006594, allocations: 125.2 kB / 0.7909 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.006612, allocations: 4.375 kB / 0.7909 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.006634, allocations: 14.97 kB / 0.7909 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.006865, allocations: 102.8 kB / 0.791 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.00688, allocations: 4.125 kB / 0.791 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.006895, allocations: 4.375 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.006909, allocations: 7.938 kB / 0.791 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.737e-05/0.006987, allocations: 35.97 kB / 0.791 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.007461, allocations: 356.7 kB / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.007684, allocations: 79.11 kB / 0.7915 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.00774, allocations: 28.2 kB / 0.7915 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.007945, allocations: 41.62 kB / 0.7915 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.007971, allocations: 37.33 kB / 0.7916 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.007973, allocations: 3.938 kB / 0.7916 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002316/0.008205, allocations: 98.25 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.008233, allocations: 52 kB / 0.7917 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.008326, allocations: 189.7 kB / 0.7919 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.008339, allocations: 29.7 kB / 0.7919 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.008399, allocations: 152.2 kB / 0.7921 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.00843, allocations: 39.67 kB / 0.7921 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.008466, allocations: 23.38 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.008587, allocations: 0.4923 MB / 0.7926 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.008619, allocations: 13.38 kB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.004e-05/0.008649, allocations: 11.98 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.008712, allocations: 35.62 kB / 0.7927 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008714, allocations: 1.75 kB / 0.7927 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001104/0.008824, allocations: 77.58 kB / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.008838, allocations: 4 kB / 0.7927 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.008844, allocations: 4 kB / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.008861, allocations: 4 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.008934, allocations: 17.27 kB / 0.7928 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.008941, allocations: 4 kB / 0.7928 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.008979, allocations: 16.77 kB / 0.7928 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.008986, allocations: 0 / 0.7928 GB, free: 6.461 MB / 0.7448 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.573e-05/0.009061, allocations: 165.7 kB / 0.7929 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.009086, allocations: 11.94 kB / 0.793 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.009241, allocations: 87.36 kB / 0.793 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.009245, allocations: 4 kB / 0.793 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.009248, allocations: 0 / 0.793 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.009255, allocations: 9.672 kB / 0.7931 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.009389, allocations: 144.6 kB / 0.7932 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.009393, allocations: 4 kB / 0.7932 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.009449, allocations: 19.92 kB / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.009453, allocations: 4 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.009461, allocations: 2.594 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009462, allocations: 0 / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009463, allocations: 0 / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.009625, allocations: 231.8 kB / 0.7934 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.009658, allocations: 15.94 kB / 0.7935 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.009672, allocations: 3.938 kB / 0.7935 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.009721, allocations: 12.48 kB / 0.7935 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.009768, allocations: 7.984 kB / 0.7935 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.009773, allocations: 0.5312 kB / 0.7935 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.009828, allocations: 141.1 kB / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009828, allocations: 0 / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002691/0.0101, allocations: 35.88 kB / 0.7936 GB, free: 5.516 MB / 0.7448 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.000181/0.01028, allocations: 115.2 kB / 0.7938 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.01042, allocations: 49.08 kB / 0.7938 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01042, allocations: 0 / 0.7938 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.01046, allocations: 36.58 kB / 0.7938 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.01072, allocations: 33.94 kB / 0.7939 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.01109, allocations: 216.2 kB / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.936e-05/0.01113, allocations: 63.34 kB / 0.7941 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.01116, allocations: 9.828 kB / 0.7941 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.0112, allocations: 12.5 kB / 0.7942 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.0112, allocations: 1.031 kB / 0.7942 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.003953/0.01515, allocations: 1.475 MB / 0.7956 GB, free: 3.5 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.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.380386631935835]