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.0009951/0.0009951, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001113/0.001113, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9609/0.9609, allocations: 177.1 MB / 204.6 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.741/1.741, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.503e-06/1.503e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.731e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002392/0.002419, allocations: 1.753 MB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003475, allocations: 0.7589 MB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.003531, allocations: 0 / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.003567, allocations: 11.86 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.003634, allocations: 29.22 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.004039, allocations: 102.8 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.004169, allocations: 115.6 kB / 0.7898 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.004288, allocations: 21.3 kB / 0.7899 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.00439, allocations: 67.86 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.004452, allocations: 35.89 kB / 0.79 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.004472, allocations: 11.94 kB / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.00471, allocations: 115.8 kB / 0.7901 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.004734, allocations: 23.92 kB / 0.7901 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.004776, allocations: 32.97 kB / 0.7901 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.005, allocations: 147.5 kB / 0.7903 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.005003, allocations: 4.469 kB / 0.7903 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005004, allocations: 0 / 0.7903 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.005009, allocations: 0.7188 kB / 0.7903 GB, free: 9.547 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.0004804/0.005489, allocations: 470 kB / 0.7907 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.005528, allocations: 8.031 kB / 0.7907 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.005581, allocations: 24.84 kB / 0.7908 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.18e-05/0.005673, allocations: 120.5 kB / 0.7909 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.005688, allocations: 8.375 kB / 0.7909 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.005701, allocations: 5 kB / 0.7909 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.00589, allocations: 114.6 kB / 0.791 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005898, allocations: 4.188 kB / 0.791 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.00591, allocations: 4.875 kB / 0.791 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.005919, allocations: 8.594 kB / 0.791 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.696e-05/0.005996, allocations: 35.97 kB / 0.791 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.006394, allocations: 365.4 kB / 0.7914 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.006658, allocations: 75.11 kB / 0.7915 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.561e-05/0.006714, allocations: 35.61 kB / 0.7915 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.006894, allocations: 37.59 kB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.006915, allocations: 33.39 kB / 0.7916 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.006916, allocations: 0 / 0.7916 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002174/0.007133, allocations: 99.53 kB / 0.7917 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.007163, allocations: 55.41 kB / 0.7917 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.007251, allocations: 181.9 kB / 0.7919 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.007261, allocations: 25.7 kB / 0.7919 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.007326, allocations: 155 kB / 0.7921 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.007357, allocations: 32.3 kB / 0.7921 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.007399, allocations: 31.38 kB / 0.7921 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.007511, allocations: 498.6 kB / 0.7926 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/0.007542, allocations: 15.98 kB / 0.7926 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.007568, allocations: 8 kB / 0.7926 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/0.00763, allocations: 39.62 kB / 0.7927 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007632, allocations: 0 / 0.7927 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001081/0.00774, allocations: 73.58 kB / 0.7927 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.007754, allocations: 9.781 kB / 0.7927 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.00776, allocations: 3.984 kB / 0.7927 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.007772, allocations: 0 / 0.7927 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.007839, allocations: 20 kB / 0.7928 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007844, allocations: 3.938 kB / 0.7928 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.007879, allocations: 16.39 kB / 0.7928 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.007885, allocations: 4.562 kB / 0.7928 GB, free: 6.785 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 6.914e-05/0.007954, allocations: 158.2 kB / 0.7929 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.007975, allocations: 11.95 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.008128, allocations: 92.19 kB / 0.793 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.00813, allocations: 0 / 0.793 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.008135, allocations: 0 / 0.793 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.00814, allocations: 3.938 kB / 0.793 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.008409, allocations: 152.5 kB / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008411, allocations: 0 / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.008466, allocations: 25.05 kB / 0.7932 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.008468, allocations: 0 / 0.7932 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.008477, allocations: 4 kB / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.008479, allocations: 0.8125 kB / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.00848, allocations: 0 / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.008634, allocations: 233 kB / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.008672, allocations: 11.95 kB / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.008686, allocations: 4.844 kB / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.008734, allocations: 12.86 kB / 0.7935 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.008778, allocations: 7.984 kB / 0.7935 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.008783, allocations: 4 kB / 0.7935 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.007e-05/0.008833, allocations: 145.4 kB / 0.7936 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008833, allocations: 0 / 0.7936 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001797/0.009013, allocations: 35.88 kB / 0.7936 GB, free: 5.844 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.0001561/0.009169, allocations: 115.2 kB / 0.7938 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.009295, allocations: 47.69 kB / 0.7938 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009297, allocations: 0 / 0.7938 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.941e-05/0.009336, allocations: 31.75 kB / 0.7938 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.009579, allocations: 31.23 kB / 0.7939 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.009943, allocations: 228.3 kB / 0.7941 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.932e-05/0.009992, allocations: 64.66 kB / 0.7941 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.01003, allocations: 6.281 kB / 0.7941 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.01006, allocations: 16.44 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01006, allocations: 1.719 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.003213/0.01327, allocations: 1.478 MB / 0.7956 GB, free: 3.816 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: 4.93048249091953]