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.0009813/0.0009813, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009192/0.0009192, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.97/0.97, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.805/1.805, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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.353e-06/1.353e-06, allocations: 0 / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.933e-05, allocations: 7 kB / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.00191/0.001929, allocations: 1.751 MB / 0.8133 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.00285, allocations: 0.7589 MB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.002905, allocations: 0 / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.00294, allocations: 15.8 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.002998, allocations: 21.33 kB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.003328, allocations: 96.7 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.00344, allocations: 123.5 kB / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.00354, allocations: 26.83 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.003631, allocations: 63.88 kB / 0.8144 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.003686, allocations: 35.89 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.003705, allocations: 8 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.003929, allocations: 126.3 kB / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.003952, allocations: 19.92 kB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.003988, allocations: 31.91 kB / 0.8146 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.004184, allocations: 151.5 kB / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004186, allocations: 0 / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004187, allocations: 0 / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004191, allocations: 0 / 0.8147 GB, free: 14.82 MB / 0.7761 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.0004505/0.004642, allocations: 461.2 kB / 0.8151 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.004681, allocations: 8.562 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.004732, allocations: 24.84 kB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.468e-05/0.004827, allocations: 126.1 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004839, allocations: 8.375 kB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.004853, allocations: 12.38 kB / 0.8153 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.005033, allocations: 103.4 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.00504, allocations: 192 / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.005051, allocations: 5.062 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.005059, allocations: 7.875 kB / 0.8154 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.005139, allocations: 39.09 kB / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.00565, allocations: 364.3 kB / 0.8158 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.005853, allocations: 84.41 kB / 0.8159 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.005902, allocations: 27.62 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.006068, allocations: 45.7 kB / 0.816 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.006089, allocations: 37.33 kB / 0.816 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.006091, allocations: 0 / 0.816 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002013/0.006292, allocations: 89.58 kB / 0.8161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.006319, allocations: 52.22 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.006407, allocations: 192.4 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.006418, allocations: 26.64 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.00648, allocations: 151 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.006508, allocations: 31.7 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.006544, allocations: 32.58 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.006661, allocations: 0.4923 MB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.006689, allocations: 8 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.006714, allocations: 8.844 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.187e-05/0.006775, allocations: 39.61 kB / 0.8171 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.006779, allocations: 6.219 kB / 0.8171 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001014/0.00688, allocations: 77.58 kB / 0.8172 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.006894, allocations: 8 kB / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006898, allocations: 0 / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.006911, allocations: 0 / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.006981, allocations: 19.98 kB / 0.8172 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.006987, allocations: 3.094 kB / 0.8172 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.00702, allocations: 11.88 kB / 0.8172 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.007028, allocations: 7.984 kB / 0.8172 GB, free: 12.06 MB / 0.7761 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.98e-05/0.007097, allocations: 160.6 kB / 0.8174 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.007117, allocations: 11.95 kB / 0.8174 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.007255, allocations: 82.05 kB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007257, allocations: 5.281 kB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.00726, allocations: 0 / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.007265, allocations: 3.938 kB / 0.8175 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.007387, allocations: 161.2 kB / 0.8176 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007388, allocations: 0 / 0.8176 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.00744, allocations: 24.5 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.007442, allocations: 4.797 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.007449, allocations: 0 / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.00745, allocations: 1.125 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007451, allocations: 3.938 kB / 0.8177 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.007594, allocations: 232.5 kB / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.007623, allocations: 16.59 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.007638, allocations: 4 kB / 0.8179 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.345e-05/0.007682, allocations: 4.75 kB / 0.8179 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.007723, allocations: 7.984 kB / 0.8179 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.007729, allocations: 9.141 kB / 0.8179 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.007778, allocations: 143.1 kB / 0.8181 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007778, allocations: 0 / 0.8181 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001754/0.007954, allocations: 32.91 kB / 0.8181 GB, free: 11.1 MB / 0.7761 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.0001321/0.008086, allocations: 112.4 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.008203, allocations: 51.64 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008205, allocations: 0 / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.008245, allocations: 32.73 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.008468, allocations: 23.19 kB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.008822, allocations: 222.1 kB / 0.8185 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.008861, allocations: 67.2 kB / 0.8186 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.008897, allocations: 10.89 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.008926, allocations: 12.5 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.008927, allocations: 0 / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.003198/0.01212, allocations: 1.472 MB / 0.82 GB, free: 9.102 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.907990064937621]