Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001337/0.001337, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001492/0.001492, allocations: 155.7 kB / 23.01 MB, free: 4.949 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.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.994/2.994, allocations: 394.2 MB / 0.6387 GB, free: 11.89 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.91 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8405, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002579/0.8431, allocations: 1.704 MB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.8442, allocations: 0.7354 MB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.8442, allocations: 1.469 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.8443, allocations: 10.55 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.8443, allocations: 28.3 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.8447, allocations: 102 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.8448, allocations: 113.4 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.8449, allocations: 23.42 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.845, allocations: 46.56 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.8451, allocations: 45.44 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.8451, allocations: 9.312 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.8454, allocations: 114.5 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.8454, allocations: 22.86 kB / 1.19 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.8455, allocations: 49.02 kB / 1.19 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.8457, allocations: 169.9 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8457, allocations: 0 / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8457, allocations: 1.156 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.8457, allocations: 0 / 1.19 GB, free: 14.25 MB / 1.076 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.0005576/0.8463, allocations: 369.3 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.8463, allocations: 8.719 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.8464, allocations: 22.91 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.634e-05/0.8465, allocations: 123.5 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.8465, allocations: 9.375 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.8465, allocations: 15.14 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.8468, allocations: 121.9 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.8468, allocations: 0 / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.8468, allocations: 9.078 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.8468, allocations: 3.281 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.8472, allocations: 114.9 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.8476, allocations: 300.6 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.848, allocations: 103.4 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.8482, allocations: 63.56 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.8484, allocations: 42.47 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.8484, allocations: 37.34 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.8484, allocations: 0 / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0006577/0.8491, allocations: 188.8 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.8491, allocations: 52.62 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.8492, allocations: 129.4 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.8492, allocations: 26.41 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.8492, allocations: 113.6 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.8492, allocations: 34.12 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.8493, allocations: 20.3 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.8493, allocations: 320.6 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.8495, allocations: 46.67 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.8497, allocations: 51.81 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.85, allocations: 95.11 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.85, allocations: 0 / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000372/0.8504, allocations: 145.9 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.8504, allocations: 6 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.8504, allocations: 96 / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8504, allocations: 9.031 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.8505, allocations: 23.64 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.8506, allocations: 1.188 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.813e-05/0.8507, allocations: 12.22 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8507, allocations: 1.875 kB / 1.192 GB, free: 12.42 MB / 1.076 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 5.437e-05/0.8507, allocations: 126.5 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.8507, allocations: 9.078 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.8512, allocations: 145.9 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8512, allocations: 5 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8512, allocations: 5.031 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8512, allocations: 4.656 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.8513, allocations: 141.9 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8513, allocations: 1.969 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.8515, allocations: 23.56 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8515, allocations: 0 / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.8515, allocations: 5.125 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8515, allocations: 1.75 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8515, allocations: 3.938 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.8519, allocations: 243.1 kB / 1.193 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.8519, allocations: 19.02 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.852, allocations: 1.781 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.8521, allocations: 15.16 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.8521, allocations: 10.66 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.8521, allocations: 2.219 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.8522, allocations: 99.47 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8522, allocations: 1.062 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002812/0.8525, allocations: 27.58 kB / 1.193 GB, free: 11.79 MB / 1.076 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.0001257/0.8526, allocations: 117.8 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.853, allocations: 105.1 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.853, allocations: 0 / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.8532, allocations: 55.53 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.8535, allocations: 29.64 kB / 1.193 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.8539, allocations: 242 kB / 1.194 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.658e-05/0.854, allocations: 85.23 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.48e-05/0.854, allocations: 12.73 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.8541, allocations: 12.84 kB / 1.194 GB, free: 11.37 MB / 1.076 GB Notification: Performance of SimCode: time 3.7e-07/0.8541, allocations: 0 / 1.194 GB, free: 11.37 MB / 1.076 GB Notification: Performance of Templates: time 0.004639/0.8587, allocations: 1.452 MB / 1.195 GB, free: 11.18 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.737226503086276]