Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001893/0.001893, allocations: 76.84 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002239/0.002239, allocations: 170.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.58/1.58, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.159/3.159, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9815 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.427e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003751/0.003785, allocations: 1.709 MB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.005495, allocations: 0.7361 MB / 0.9838 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.005602, allocations: 4 kB / 0.9839 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.809e-05/0.00566, allocations: 11.81 kB / 0.9839 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.00576, allocations: 15.8 kB / 0.9839 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.006341, allocations: 107.6 kB / 0.984 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.006559, allocations: 115.6 kB / 0.9841 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.006719, allocations: 37.23 kB / 0.9841 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.00687, allocations: 51.89 kB / 0.9842 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.006967, allocations: 43.88 kB / 0.9842 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.006996, allocations: 8 kB / 0.9842 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.007375, allocations: 127.7 kB / 0.9843 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.007411, allocations: 23.91 kB / 0.9844 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.007467, allocations: 31.92 kB / 0.9844 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.007839, allocations: 179.4 kB / 0.9846 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007843, allocations: 0 / 0.9846 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.007844, allocations: 4 kB / 0.9846 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.007855, allocations: 0 / 0.9846 GB, free: 8.746 MB / 0.9356 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.0007697/0.008624, allocations: 369.6 kB / 0.9849 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.169e-05/0.008696, allocations: 12.03 kB / 0.9849 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.008757, allocations: 16.84 kB / 0.985 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.008916, allocations: 128.1 kB / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.00893, allocations: 8.312 kB / 0.9851 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.008955, allocations: 8.375 kB / 0.9851 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.009339, allocations: 126 kB / 0.9852 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.009348, allocations: 192 / 0.9852 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.009368, allocations: 8.359 kB / 0.9852 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.009378, allocations: 7.938 kB / 0.9852 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.009775, allocations: 107.8 kB / 0.9853 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.01039, allocations: 304.2 kB / 0.9856 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.0108, allocations: 106.6 kB / 0.9857 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.01102, allocations: 60.81 kB / 0.9858 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.01128, allocations: 35.97 kB / 0.9858 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.01132, allocations: 34.56 kB / 0.9859 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 5.139e-06/0.01132, allocations: 4 kB / 0.9859 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0007116/0.01203, allocations: 181.5 kB / 0.986 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.01208, allocations: 59.33 kB / 0.9861 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.0122, allocations: 125.8 kB / 0.9862 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.01222, allocations: 29.7 kB / 0.9862 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.0123, allocations: 108.2 kB / 0.9863 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.01234, allocations: 35.73 kB / 0.9864 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.01239, allocations: 22.05 kB / 0.9864 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.01258, allocations: 322.8 kB / 0.9867 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.01276, allocations: 43.95 kB / 0.9867 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.01293, allocations: 43.91 kB / 0.9868 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.01329, allocations: 112.7 kB / 0.9869 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01329, allocations: 0 / 0.9869 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004064/0.01369, allocations: 133.6 kB / 0.987 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01371, allocations: 8 kB / 0.987 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01372, allocations: 0 / 0.987 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01373, allocations: 0 / 0.987 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.01388, allocations: 27.92 kB / 0.9871 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.01389, allocations: 4 kB / 0.9871 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.01401, allocations: 23.86 kB / 0.9871 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.01402, allocations: 3.984 kB / 0.9871 GB, free: 6.004 MB / 0.9356 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.0001053/0.01413, allocations: 113.8 kB / 0.9872 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.01416, allocations: 11.89 kB / 0.9872 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.01466, allocations: 154 kB / 0.9873 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01466, allocations: 0 / 0.9873 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.01466, allocations: 4 kB / 0.9874 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.01467, allocations: 4.312 kB / 0.9874 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.01488, allocations: 141.3 kB / 0.9875 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01488, allocations: 0 / 0.9875 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.01502, allocations: 23.97 kB / 0.9875 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.01502, allocations: 7.938 kB / 0.9875 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.01504, allocations: 8 kB / 0.9875 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01504, allocations: 0 / 0.9875 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01504, allocations: 0 / 0.9875 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.01552, allocations: 235.3 kB / 0.9878 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.01556, allocations: 15.94 kB / 0.9878 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.01558, allocations: 3.984 kB / 0.9878 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.01571, allocations: 19.98 kB / 0.9878 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.01578, allocations: 11.92 kB / 0.9878 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.01579, allocations: 0 / 0.9878 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.467e-05/0.01586, allocations: 102.2 kB / 0.9879 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01586, allocations: 0 / 0.9879 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002892/0.01615, allocations: 35.83 kB / 0.9879 GB, free: 5.07 MB / 0.9356 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.0002128/0.01636, allocations: 119.2 kB / 0.988 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.01679, allocations: 103.8 kB / 0.9881 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.0168, allocations: 4 kB / 0.9882 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.01699, allocations: 51.95 kB / 0.9882 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.01738, allocations: 28.39 kB / 0.9882 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.01788, allocations: 220.2 kB / 0.9884 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.721e-05/0.01798, allocations: 84.31 kB / 0.9885 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.225e-05/0.01803, allocations: 11.98 kB / 0.9885 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.01808, allocations: 12.5 kB / 0.9885 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.01808, allocations: 0 / 0.9885 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of Templates: time 0.004968/0.02305, allocations: 1.451 MB / 0.99 GB, free: 2.973 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.162492353469133]