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.0008947/0.0008947, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009663/0.0009663, allocations: 185 kB / 24.09 MB, free: 416 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 1.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.831/1.831, allocations: 377.9 MB / 0.6239 GB, free: 8.406 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.923e-06/1.923e-06, allocations: 0 / 0.812 GB, free: 280 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.216e-05, allocations: 2.969 kB / 0.812 GB, free: 276 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002918/0.00294, allocations: 1.759 MB / 0.8137 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.004186, allocations: 0.7539 MB / 0.8145 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.004254, allocations: 4 kB / 0.8145 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.004296, allocations: 13.11 kB / 0.8145 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.004382, allocations: 25.19 kB / 0.8145 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.004782, allocations: 107.6 kB / 0.8146 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.00492, allocations: 112.2 kB / 0.8147 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005026, allocations: 25.28 kB / 0.8148 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.005139, allocations: 61.06 kB / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.005204, allocations: 43.81 kB / 0.8149 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.005227, allocations: 12 kB / 0.8149 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.00551, allocations: 116.4 kB / 0.815 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.005534, allocations: 26.27 kB / 0.815 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.005575, allocations: 35.91 kB / 0.815 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.005816, allocations: 147.5 kB / 0.8152 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005818, allocations: 3.938 kB / 0.8152 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005819, allocations: 0 / 0.8152 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.005822, allocations: 0 / 0.8152 GB, free: 13.05 MB / 0.7292 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.0004898/0.006312, allocations: 460.7 kB / 0.8156 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.006352, allocations: 12.03 kB / 0.8156 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.006399, allocations: 21.78 kB / 0.8157 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.006502, allocations: 120.5 kB / 0.8158 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.006518, allocations: 8.375 kB / 0.8158 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.006536, allocations: 13.28 kB / 0.8158 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.006737, allocations: 101.2 kB / 0.8159 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.006744, allocations: 192 / 0.8159 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.006754, allocations: 8.375 kB / 0.8159 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.00676, allocations: 5.312 kB / 0.8159 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.006806, allocations: 27.97 kB / 0.8159 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.007123, allocations: 338 kB / 0.8162 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.00726, allocations: 67.06 kB / 0.8163 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.007289, allocations: 27.66 kB / 0.8163 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.007419, allocations: 49.56 kB / 0.8164 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.00744, allocations: 37.39 kB / 0.8164 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.007441, allocations: 0 / 0.8164 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001399/0.007581, allocations: 81.56 kB / 0.8165 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.007608, allocations: 52.34 kB / 0.8165 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.007688, allocations: 185.9 kB / 0.8167 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.007699, allocations: 25.7 kB / 0.8168 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.00775, allocations: 155.5 kB / 0.8169 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.007774, allocations: 36.22 kB / 0.8169 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.007805, allocations: 27.36 kB / 0.817 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.007912, allocations: 0.4933 MB / 0.8174 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.007929, allocations: 7.984 kB / 0.8174 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/0.007945, allocations: 8 kB / 0.8175 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.007985, allocations: 44.09 kB / 0.8175 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.007987, allocations: 0.5312 kB / 0.8175 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.664e-05/0.008063, allocations: 74.95 kB / 0.8176 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.008075, allocations: 5.406 kB / 0.8176 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.008078, allocations: 0 / 0.8176 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.008089, allocations: 4 kB / 0.8176 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.008146, allocations: 16.83 kB / 0.8176 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.00815, allocations: 4 kB / 0.8176 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.008177, allocations: 4.844 kB / 0.8176 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.008182, allocations: 3.938 kB / 0.8176 GB, free: 10.38 MB / 0.7292 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.371e-05/0.008246, allocations: 165.8 kB / 0.8178 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.008265, allocations: 15.88 kB / 0.8178 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.008368, allocations: 82.94 kB / 0.8179 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008369, allocations: 1 kB / 0.8179 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.008372, allocations: 4 kB / 0.8179 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.008375, allocations: 0 / 0.8179 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.008484, allocations: 134.6 kB / 0.818 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008485, allocations: 3.938 kB / 0.818 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.008529, allocations: 16 kB / 0.818 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.008531, allocations: 1.312 kB / 0.818 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.008537, allocations: 3.984 kB / 0.818 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.008539, allocations: 4 kB / 0.818 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.00854, allocations: 0 / 0.818 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.008658, allocations: 235.5 kB / 0.8182 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.008681, allocations: 15.94 kB / 0.8183 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.00869, allocations: 0 / 0.8183 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.008731, allocations: 4 kB / 0.8183 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.00876, allocations: 11.98 kB / 0.8183 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.008764, allocations: 0 / 0.8183 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.008803, allocations: 140.7 kB / 0.8184 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008803, allocations: 0 / 0.8184 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001589/0.008962, allocations: 32.44 kB / 0.8184 GB, free: 9.469 MB / 0.7292 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.0001035/0.009065, allocations: 116.4 kB / 0.8186 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.009148, allocations: 51.58 kB / 0.8186 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.009149, allocations: 0.9688 kB / 0.8186 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.009179, allocations: 35.59 kB / 0.8186 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.009374, allocations: 27.5 kB / 0.8187 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.009649, allocations: 216 kB / 0.8189 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.009685, allocations: 64.44 kB / 0.8189 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.009717, allocations: 10.58 kB / 0.8189 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.009783, allocations: 89.03 kB / 0.819 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.009784, allocations: 0 / 0.819 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of Templates: time 0.002837/0.01262, allocations: 1.624 MB / 0.8206 GB, free: 7.238 MB / 0.7292 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.808657633140683]