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.002559/0.002559, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002722/0.002722, allocations: 157.3 kB / 23.55 MB, free: 0.8633 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.628/1.628, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.917/2.917, allocations: 359 MB / 0.6048 GB, free: 10.94 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.393e-06/1.393e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.123e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.004015/0.004046, allocations: 1.723 MB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.005682, allocations: 0.7543 MB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.005783, allocations: 5.438 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.874e-05/0.005832, allocations: 11.86 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.005942, allocations: 24.89 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.006453, allocations: 103.6 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.00667, allocations: 116.2 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.006813, allocations: 26.7 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.006971, allocations: 63.86 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.007053, allocations: 35.91 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.007083, allocations: 8 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.007463, allocations: 120.8 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.007502, allocations: 19.91 kB / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.007565, allocations: 35.92 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.007957, allocations: 184.3 kB / 0.7896 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.007961, allocations: 0 / 0.7896 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007962, allocations: 1.094 kB / 0.7896 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.007969, allocations: 0 / 0.7896 GB, free: 9.523 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.000853/0.008822, allocations: 468.9 kB / 0.79 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.008864, allocations: 8.031 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.008953, allocations: 24.84 kB / 0.79 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.009118, allocations: 127.4 kB / 0.7902 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.009135, allocations: 4.375 kB / 0.7902 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.009157, allocations: 12.38 kB / 0.7902 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.009455, allocations: 103.8 kB / 0.7903 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.009466, allocations: 4.125 kB / 0.7903 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.009483, allocations: 4.375 kB / 0.7903 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.009494, allocations: 7.938 kB / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.009787, allocations: 94.17 kB / 0.7904 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.01048, allocations: 371.4 kB / 0.7907 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.01086, allocations: 103 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.01101, allocations: 56.89 kB / 0.7909 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.01127, allocations: 37.56 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.01131, allocations: 41.39 kB / 0.791 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.01131, allocations: 0 / 0.791 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0005453/0.01186, allocations: 159.2 kB / 0.7911 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.0119, allocations: 51.41 kB / 0.7912 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.01209, allocations: 198.3 kB / 0.7914 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.01211, allocations: 29.64 kB / 0.7914 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.01223, allocations: 163 kB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.01228, allocations: 36.22 kB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.01234, allocations: 24.06 kB / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002846/0.01262, allocations: 0.4923 MB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.01274, allocations: 32.52 kB / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01285, allocations: 37.28 kB / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.01308, allocations: 80.19 kB / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01308, allocations: 0 / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003039/0.01339, allocations: 114.9 kB / 0.7923 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.0134, allocations: 8 kB / 0.7923 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01341, allocations: 1.156 kB / 0.7923 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01342, allocations: 0 / 0.7923 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01355, allocations: 23.92 kB / 0.7924 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01356, allocations: 1.125 kB / 0.7924 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.01364, allocations: 15.88 kB / 0.7924 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.01365, allocations: 5.75 kB / 0.7924 GB, free: 6.449 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.0001501/0.0138, allocations: 160.6 kB / 0.7925 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.01384, allocations: 15.94 kB / 0.7926 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.01422, allocations: 131.3 kB / 0.7927 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.01422, allocations: 4 kB / 0.7927 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01423, allocations: 4.812 kB / 0.7927 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.01423, allocations: 3.938 kB / 0.7927 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.01451, allocations: 166.6 kB / 0.7928 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01451, allocations: 0 / 0.7928 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.01462, allocations: 19.98 kB / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01463, allocations: 0 / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01464, allocations: 0 / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01464, allocations: 0 / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01464, allocations: 0.6562 kB / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.01508, allocations: 275.9 kB / 0.7931 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.01512, allocations: 15.94 kB / 0.7931 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.01515, allocations: 4 kB / 0.7931 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.01526, allocations: 7.984 kB / 0.7932 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.01532, allocations: 7.984 kB / 0.7932 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.01533, allocations: 7.938 kB / 0.7932 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001286/0.01545, allocations: 143.2 kB / 0.7933 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01546, allocations: 0 / 0.7933 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002855/0.01574, allocations: 32.41 kB / 0.7933 GB, free: 5.406 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.0002555/0.016, allocations: 117.3 kB / 0.7935 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.01633, allocations: 91.67 kB / 0.7935 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01633, allocations: 0 / 0.7935 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.01649, allocations: 60.59 kB / 0.7936 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.01684, allocations: 31.31 kB / 0.7936 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.01747, allocations: 232.5 kB / 0.7938 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.0177, allocations: 95.23 kB / 0.7939 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.275e-05/0.01776, allocations: 4 kB / 0.7939 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.01781, allocations: 13.44 kB / 0.794 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01781, allocations: 0 / 0.794 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of Templates: time 0.005744/0.02355, allocations: 1.468 MB / 0.7954 GB, free: 3.293 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","/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.506512596039101]