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.002118/0.002118, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001944/0.001944, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.8971/0.8971, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.735/1.735, allocations: 359 MB / 0.6052 GB, free: 11 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.583e-06/1.583e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.797e-05, allocations: 8.219 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002245/0.002273, allocations: 1.746 MB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.003248, allocations: 0.7701 MB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.003304, allocations: 1.656 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.003342, allocations: 11.86 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.003419, allocations: 29.27 kB / 0.7896 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.003932, allocations: 99.64 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.004061, allocations: 115.5 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.004165, allocations: 28.73 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.004256, allocations: 59.88 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.004308, allocations: 39.89 kB / 0.79 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.004329, allocations: 8 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.004581, allocations: 123.8 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.004603, allocations: 19.92 kB / 0.7901 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.004639, allocations: 39.84 kB / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.004835, allocations: 143.5 kB / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.004839, allocations: 0 / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00484, allocations: 0.7188 kB / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.004845, allocations: 0 / 0.7903 GB, free: 9.207 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.0004401/0.005285, allocations: 465.6 kB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.005325, allocations: 8.031 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.005374, allocations: 24.84 kB / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.308e-05/0.005457, allocations: 125 kB / 0.7909 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.00547, allocations: 9.75 kB / 0.7909 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.005484, allocations: 12.38 kB / 0.7909 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.005657, allocations: 105.6 kB / 0.791 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.005663, allocations: 1.469 kB / 0.791 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.005676, allocations: 8.375 kB / 0.791 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005684, allocations: 3.938 kB / 0.791 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.805e-05/0.005752, allocations: 36.62 kB / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.006165, allocations: 364 kB / 0.7914 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.006377, allocations: 80.16 kB / 0.7915 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.006426, allocations: 27.67 kB / 0.7915 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.006602, allocations: 40.84 kB / 0.7915 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.006625, allocations: 38.73 kB / 0.7916 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.006627, allocations: 0 / 0.7916 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002114/0.006838, allocations: 89.52 kB / 0.7917 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.006865, allocations: 51.41 kB / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.006948, allocations: 196.5 kB / 0.7919 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.00696, allocations: 33.7 kB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.007012, allocations: 151 kB / 0.7921 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.007038, allocations: 35.69 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.007071, allocations: 23.38 kB / 0.7921 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.007178, allocations: 0.4923 MB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.007205, allocations: 8 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.007233, allocations: 11.98 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.732e-05/0.00729, allocations: 36.91 kB / 0.7927 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007292, allocations: 0 / 0.7927 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.348e-05/0.007386, allocations: 77.58 kB / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.007399, allocations: 4.625 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007404, allocations: 4 kB / 0.7928 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.007416, allocations: 4.5 kB / 0.7928 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.13e-05/0.007487, allocations: 24.92 kB / 0.7928 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.007492, allocations: 0 / 0.7928 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.007525, allocations: 19.86 kB / 0.7928 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.00753, allocations: 0.9375 kB / 0.7928 GB, free: 6.445 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.405e-05/0.007594, allocations: 161.7 kB / 0.793 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.007614, allocations: 11.95 kB / 0.793 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.007749, allocations: 83.52 kB / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.007752, allocations: 4 kB / 0.793 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.007756, allocations: 3.984 kB / 0.7931 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.00776, allocations: 3.938 kB / 0.7931 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.008019, allocations: 157.1 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00802, allocations: 0.5625 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.008074, allocations: 16.52 kB / 0.7932 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.008077, allocations: 4 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.008085, allocations: 0.8125 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008086, allocations: 0 / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008088, allocations: 0.9375 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.008233, allocations: 232.5 kB / 0.7935 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.008262, allocations: 17.16 kB / 0.7935 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.008274, allocations: 0 / 0.7935 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/0.008318, allocations: 7.984 kB / 0.7935 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.008358, allocations: 16.8 kB / 0.7935 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.008363, allocations: 0 / 0.7935 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.008407, allocations: 143.1 kB / 0.7936 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008407, allocations: 2.219 kB / 0.7936 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001755/0.008583, allocations: 31.88 kB / 0.7937 GB, free: 5.504 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.0001473/0.00873, allocations: 111.2 kB / 0.7938 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.008852, allocations: 47.7 kB / 0.7938 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008854, allocations: 1.125 kB / 0.7938 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.008895, allocations: 35.8 kB / 0.7938 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.009136, allocations: 25 kB / 0.7939 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.009516, allocations: 228.3 kB / 0.7941 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.908e-05/0.009556, allocations: 67.28 kB / 0.7942 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.774e-05/0.009593, allocations: 10.64 kB / 0.7942 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.009626, allocations: 12.5 kB / 0.7942 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.009627, allocations: 1.094 kB / 0.7942 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of Templates: time 0.003483/0.01311, allocations: 1.584 MB / 0.7957 GB, free: 3.371 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.840073210652918]