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.0008702/0.0008702, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009408/0.0009408, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9668/0.9668, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.849/1.849, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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 2.044e-06/2.044e-06, allocations: 0 / 0.8116 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.071e-05, allocations: 4.984 kB / 0.8116 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003352/0.003383, allocations: 1.767 MB / 0.8133 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.004834, allocations: 0.7659 MB / 0.814 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.004912, allocations: 5.219 kB / 0.814 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.145e-05/0.004963, allocations: 11.86 kB / 0.8141 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.117e-05/0.005054, allocations: 20.48 kB / 0.8141 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.005536, allocations: 104.5 kB / 0.8142 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.005694, allocations: 116.2 kB / 0.8143 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.005833, allocations: 29.28 kB / 0.8143 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.005957, allocations: 60.67 kB / 0.8144 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.006031, allocations: 39.88 kB / 0.8144 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.006056, allocations: 8.875 kB / 0.8144 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.006378, allocations: 119.8 kB / 0.8145 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.006407, allocations: 20.8 kB / 0.8146 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.006455, allocations: 35.91 kB / 0.8146 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.006738, allocations: 152.7 kB / 0.8147 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.006742, allocations: 0 / 0.8147 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.343e-06/0.006743, allocations: 0 / 0.8147 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.006749, allocations: 0 / 0.8147 GB, free: 13.32 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.0005886/0.007337, allocations: 461.3 kB / 0.8152 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.007384, allocations: 8.031 kB / 0.8152 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.007452, allocations: 24.84 kB / 0.8152 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.007581, allocations: 125.7 kB / 0.8153 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.007599, allocations: 8.375 kB / 0.8153 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.007623, allocations: 12.31 kB / 0.8153 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.007891, allocations: 106 kB / 0.8154 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.007903, allocations: 192 / 0.8154 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.007919, allocations: 4.375 kB / 0.8155 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.007932, allocations: 7.938 kB / 0.8155 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.008045, allocations: 37.5 kB / 0.8155 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.008606, allocations: 359.4 kB / 0.8158 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.008889, allocations: 83.03 kB / 0.8159 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.008961, allocations: 29.08 kB / 0.8159 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.00921, allocations: 44.53 kB / 0.816 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.009237, allocations: 33.39 kB / 0.816 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.009239, allocations: 0.6562 kB / 0.816 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.00029/0.009529, allocations: 91.52 kB / 0.8161 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.00956, allocations: 51.41 kB / 0.8162 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.00969, allocations: 187.7 kB / 0.8163 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.009705, allocations: 25.7 kB / 0.8164 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.009777, allocations: 159 kB / 0.8165 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.009823, allocations: 36.31 kB / 0.8165 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.009873, allocations: 23.38 kB / 0.8166 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.01002, allocations: 0.493 MB / 0.817 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.76e-05/0.01007, allocations: 12 kB / 0.8171 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.01011, allocations: 17.14 kB / 0.8171 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.101e-05/0.0102, allocations: 31.69 kB / 0.8171 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01021, allocations: 0 / 0.8171 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001624/0.01037, allocations: 78.17 kB / 0.8172 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.01039, allocations: 4 kB / 0.8172 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01039, allocations: 1.125 kB / 0.8172 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.01041, allocations: 4 kB / 0.8172 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01054, allocations: 16.92 kB / 0.8172 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.01055, allocations: 4 kB / 0.8172 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.0106, allocations: 15.92 kB / 0.8172 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.01061, allocations: 0.5312 kB / 0.8172 GB, free: 10.57 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 8.923e-05/0.0107, allocations: 169.5 kB / 0.8174 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.01074, allocations: 7.953 kB / 0.8174 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.01094, allocations: 86.91 kB / 0.8175 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.01095, allocations: 12.91 kB / 0.8175 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01095, allocations: 0 / 0.8175 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01096, allocations: 5.281 kB / 0.8175 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.01114, allocations: 148.5 kB / 0.8176 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01114, allocations: 0 / 0.8176 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.01124, allocations: 19.98 kB / 0.8177 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01125, allocations: 0.875 kB / 0.8177 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.01126, allocations: 11.94 kB / 0.8177 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01126, allocations: 2.156 kB / 0.8177 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01126, allocations: 0 / 0.8177 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.01151, allocations: 232.5 kB / 0.8179 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.01155, allocations: 15.94 kB / 0.8179 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.01157, allocations: 4 kB / 0.8179 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.01167, allocations: 12.55 kB / 0.8179 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.01172, allocations: 7.984 kB / 0.8179 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.01173, allocations: 3.438 kB / 0.8179 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.01179, allocations: 141.8 kB / 0.8181 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01179, allocations: 0 / 0.8181 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003033/0.0121, allocations: 31.88 kB / 0.8181 GB, free: 9.613 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.0001971/0.01229, allocations: 119.2 kB / 0.8182 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.01247, allocations: 51.64 kB / 0.8183 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01247, allocations: 0 / 0.8183 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.01253, allocations: 36.11 kB / 0.8183 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.01289, allocations: 27.23 kB / 0.8183 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.0134, allocations: 220.7 kB / 0.8185 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.408e-05/0.01345, allocations: 67.33 kB / 0.8186 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.697e-05/0.01351, allocations: 6.219 kB / 0.8186 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.01355, allocations: 12.5 kB / 0.8186 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.01355, allocations: 3.656 kB / 0.8186 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of Templates: time 0.004753/0.01831, allocations: 1.466 MB / 0.8201 GB, free: 7.609 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: 5.061751301866025]