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.001596/0.001596, allocations: 88.39 kB / 20.23 MB, free: 4.18 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.00207/0.00207, allocations: 161.3 kB / 23.54 MB, free: 0.8711 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.688/1.688, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.831/2.831, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] 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.984e-06/1.984e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.942e-05/4.141e-05, allocations: 4.844 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.004012/0.004053, allocations: 1.721 MB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.005746, allocations: 0.7341 MB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.005819, allocations: 4 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.058e-05/0.00588, allocations: 16.64 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.005983, allocations: 16.88 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.006552, allocations: 104.6 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.006772, allocations: 115.6 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.00694, allocations: 29.84 kB / 0.7891 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.007107, allocations: 59.88 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-05/0.007199, allocations: 36.58 kB / 0.7892 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.007234, allocations: 12.91 kB / 0.7892 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.007614, allocations: 115.9 kB / 0.7893 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.007663, allocations: 19.91 kB / 0.7893 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.007731, allocations: 32.58 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.008133, allocations: 192 kB / 0.7895 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.008139, allocations: 0 / 0.7895 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.964e-06/0.008141, allocations: 1.656 kB / 0.7895 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.008149, allocations: 0 / 0.7895 GB, free: 9.637 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.0009736/0.009122, allocations: 371 kB / 0.7899 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.009189, allocations: 12.03 kB / 0.7899 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.043e-05/0.00928, allocations: 20.84 kB / 0.7899 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.009472, allocations: 123.2 kB / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.009498, allocations: 8.375 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.009518, allocations: 4.375 kB / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.009951, allocations: 123.3 kB / 0.7902 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.009965, allocations: 4.172 kB / 0.7902 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.009986, allocations: 4.375 kB / 0.7902 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.01, allocations: 7.938 kB / 0.7902 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.01041, allocations: 111.7 kB / 0.7903 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/0.01111, allocations: 308.8 kB / 0.7906 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.01157, allocations: 111.8 kB / 0.7907 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.01178, allocations: 57.88 kB / 0.7907 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.01207, allocations: 37.81 kB / 0.7908 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.01211, allocations: 38.5 kB / 0.7908 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.01211, allocations: 0 / 0.7908 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000792/0.01291, allocations: 188 kB / 0.791 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.01297, allocations: 55.39 kB / 0.791 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.01315, allocations: 133.8 kB / 0.7912 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.01318, allocations: 25.7 kB / 0.7912 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.01331, allocations: 112.2 kB / 0.7913 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.01336, allocations: 32.72 kB / 0.7913 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.01342, allocations: 25.72 kB / 0.7914 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002312/0.01365, allocations: 321 kB / 0.7917 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.01383, allocations: 43.95 kB / 0.7917 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.01399, allocations: 39.97 kB / 0.7917 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.01435, allocations: 108.2 kB / 0.7918 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.01436, allocations: 4 kB / 0.7919 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004538/0.01482, allocations: 143 kB / 0.792 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.01484, allocations: 4 kB / 0.792 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.01485, allocations: 3.938 kB / 0.792 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.01488, allocations: 4.625 kB / 0.792 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.01504, allocations: 20.55 kB / 0.792 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01504, allocations: 0.5625 kB / 0.792 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01515, allocations: 20.69 kB / 0.792 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.01517, allocations: 4 kB / 0.792 GB, free: 6.91 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 0.0001486/0.01531, allocations: 119 kB / 0.7922 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.01536, allocations: 7.953 kB / 0.7922 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.01586, allocations: 152.6 kB / 0.7923 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.01587, allocations: 4 kB / 0.7923 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01587, allocations: 0.8125 kB / 0.7923 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01588, allocations: 3.938 kB / 0.7923 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.0161, allocations: 146.2 kB / 0.7925 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.0161, allocations: 0 / 0.7925 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.01624, allocations: 25.19 kB / 0.7925 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01624, allocations: 4 kB / 0.7925 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01625, allocations: 7.938 kB / 0.7925 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.01626, allocations: 4.781 kB / 0.7925 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01626, allocations: 0 / 0.7925 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.01675, allocations: 248.6 kB / 0.7927 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.01679, allocations: 15.66 kB / 0.7927 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.01681, allocations: 4 kB / 0.7928 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.01694, allocations: 11.98 kB / 0.7928 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.017, allocations: 3.984 kB / 0.7928 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.01701, allocations: 8 kB / 0.7928 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.041e-05/0.0171, allocations: 95.27 kB / 0.7929 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0171, allocations: 0 / 0.7929 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000292/0.01739, allocations: 35.88 kB / 0.7929 GB, free: 5.98 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.0002554/0.01764, allocations: 112.1 kB / 0.793 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.01808, allocations: 110 kB / 0.7931 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01809, allocations: 0 / 0.7931 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.01829, allocations: 57.02 kB / 0.7932 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.01874, allocations: 29.59 kB / 0.7932 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.01935, allocations: 213.8 kB / 0.7934 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.01979, allocations: 90.98 kB / 0.7935 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.169e-05/0.01985, allocations: 6.25 kB / 0.7935 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.0199, allocations: 13.16 kB / 0.7935 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.0199, allocations: 0 / 0.7935 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.005462/0.02536, allocations: 1.469 MB / 0.7949 GB, free: 3.883 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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: 8.484740932006389]