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.000851/0.000851, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.000787/0.000787, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9262/0.9262, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.777/1.777, allocations: 377.8 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] 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.713e-06/1.713e-06, allocations: 0 / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.484e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.001942/0.001966, allocations: 1.701 MB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009012/0.002868, allocations: 0.7399 MB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.002925, allocations: 0 / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.00296, allocations: 11.86 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.003017, allocations: 23.69 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.003364, allocations: 107.6 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.003476, allocations: 111.6 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.00358, allocations: 29.23 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.003666, allocations: 63.88 kB / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.065e-05/0.003717, allocations: 43.81 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.003737, allocations: 12 kB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.003954, allocations: 111.8 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.003971, allocations: 23.91 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.004005, allocations: 35.91 kB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.004219, allocations: 191.3 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004221, allocations: 0 / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004221, allocations: 0 / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.004225, allocations: 0 / 0.9853 GB, free: 14.83 MB / 0.948 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.0004563/0.004682, allocations: 369.6 kB / 0.9857 GB, free: 14.44 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.00472, allocations: 8.031 kB / 0.9857 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.004753, allocations: 16.84 kB / 0.9857 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.004832, allocations: 121.6 kB / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.004844, allocations: 12.38 kB / 0.9859 GB, free: 14.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.004859, allocations: 12.36 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.00508, allocations: 124.1 kB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.005087, allocations: 192 / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.0051, allocations: 4.375 kB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.005106, allocations: 3.938 kB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.005302, allocations: 115.9 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.00567, allocations: 300.2 kB / 0.9864 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.005911, allocations: 106.5 kB / 0.9865 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.006008, allocations: 56.86 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.006175, allocations: 43.97 kB / 0.9866 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.006196, allocations: 38.55 kB / 0.9866 GB, free: 13.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.006197, allocations: 4 kB / 0.9866 GB, free: 13.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.000352/0.006549, allocations: 177.5 kB / 0.9868 GB, free: 13.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.006579, allocations: 55.41 kB / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.00665, allocations: 132.6 kB / 0.987 GB, free: 13.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.006662, allocations: 33.64 kB / 0.987 GB, free: 12.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.006716, allocations: 112.2 kB / 0.9871 GB, free: 12.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.00674, allocations: 23.75 kB / 0.9871 GB, free: 12.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.006774, allocations: 25.67 kB / 0.9872 GB, free: 12.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.006857, allocations: 322.8 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.006944, allocations: 47.89 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.007035, allocations: 52.27 kB / 0.9876 GB, free: 12.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.007198, allocations: 92.8 kB / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.007201, allocations: 0 / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004844/0.007685, allocations: 141.5 kB / 0.9878 GB, free: 12.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.007696, allocations: 8 kB / 0.9878 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007701, allocations: 0 / 0.9878 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.007712, allocations: 4 kB / 0.9878 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.007784, allocations: 23.97 kB / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.007789, allocations: 0 / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.007833, allocations: 19.86 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.007841, allocations: 4 kB / 0.9878 GB, free: 12.1 MB / 0.948 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.096e-05/0.007902, allocations: 121.8 kB / 0.988 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.007916, allocations: 7.953 kB / 0.988 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.008167, allocations: 154 kB / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008169, allocations: 0 / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.008172, allocations: 0 / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.008176, allocations: 3.938 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.008287, allocations: 141.3 kB / 0.9883 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008289, allocations: 7.984 kB / 0.9883 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.00835, allocations: 27.98 kB / 0.9883 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.008351, allocations: 384 / 0.9883 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.008358, allocations: 0 / 0.9883 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.00836, allocations: 4 kB / 0.9883 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008361, allocations: 0 / 0.9883 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.008581, allocations: 243.2 kB / 0.9885 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.008608, allocations: 19.94 kB / 0.9885 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.008619, allocations: 0 / 0.9885 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.008675, allocations: 11.98 kB / 0.9886 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.008713, allocations: 7.984 kB / 0.9886 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.008717, allocations: 4 kB / 0.9886 GB, free: 11.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.008755, allocations: 99.2 kB / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.008755, allocations: 0 / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001799/0.008935, allocations: 43.81 kB / 0.9887 GB, free: 11.16 MB / 0.948 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.000124/0.009059, allocations: 119.1 kB / 0.9888 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.009275, allocations: 103.9 kB / 0.9889 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009276, allocations: 3.938 kB / 0.9889 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.009364, allocations: 51.95 kB / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.009587, allocations: 19.98 kB / 0.989 GB, free: 10.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.009942, allocations: 247.8 kB / 0.9892 GB, free: 10.58 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.961e-05/0.01, allocations: 84.31 kB / 0.9893 GB, free: 10.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.01004, allocations: 12.5 kB / 0.9893 GB, free: 10.46 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.01004, allocations: 3.938 kB / 0.9893 GB, free: 10.46 MB / 0.948 GB Notification: Performance of Templates: time 0.002073/0.01211, allocations: 1.417 MB / 0.9907 GB, free: 9.043 MB / 0.948 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: 6.745372271165252]