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.0009455/0.0009455, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009638/0.0009638, allocations: 167.3 kB / 24.87 MB, free: 9.27 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.9224/0.9224, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.898/1.898, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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.893e-06/1.893e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.937e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002183/0.002203, allocations: 1.741 MB / 0.8145 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009727/0.003176, allocations: 0.7586 MB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.003245, allocations: 0 / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.003281, allocations: 8.5 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.205e-05/0.003353, allocations: 29.12 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.003707, allocations: 100.7 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.003825, allocations: 119.5 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.315e-05/0.003918, allocations: 21.3 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.004011, allocations: 64.56 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.00406, allocations: 35.89 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.004077, allocations: 12.84 kB / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.004294, allocations: 119.8 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.004317, allocations: 24.56 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.004346, allocations: 37.11 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.004521, allocations: 143.6 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.004523, allocations: 3.938 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004524, allocations: 0 / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.004527, allocations: 0.9688 kB / 0.8159 GB, free: 14.17 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.0003884/0.004916, allocations: 464.6 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.004947, allocations: 8.031 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.004984, allocations: 25.72 kB / 0.8164 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.379e-05/0.005068, allocations: 123.3 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.005079, allocations: 9.625 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.005092, allocations: 16.36 kB / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.005241, allocations: 105.1 kB / 0.8167 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.005248, allocations: 2.031 kB / 0.8167 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005257, allocations: 4.375 kB / 0.8167 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.005265, allocations: 11.94 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.005311, allocations: 27.97 kB / 0.8167 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.005629, allocations: 329.1 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.005775, allocations: 83.03 kB / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.005806, allocations: 28.58 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.005938, allocations: 41.77 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.005957, allocations: 37.39 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.005958, allocations: 0 / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001886/0.006147, allocations: 77.58 kB / 0.8173 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.006173, allocations: 56.94 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.006247, allocations: 177.9 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.006258, allocations: 29.7 kB / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.006314, allocations: 151 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.006341, allocations: 41.14 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.006377, allocations: 27.38 kB / 0.8177 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.006487, allocations: 0.4922 MB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.006507, allocations: 8 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.006523, allocations: 8.547 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.408e-05/0.006567, allocations: 32.41 kB / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006569, allocations: 0 / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.978e-05/0.006649, allocations: 71.39 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.006659, allocations: 14.28 kB / 0.8183 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006663, allocations: 0 / 0.8183 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.006671, allocations: 0 / 0.8183 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.006738, allocations: 23.98 kB / 0.8184 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.00674, allocations: 0.625 kB / 0.8184 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.006773, allocations: 12.61 kB / 0.8184 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.006779, allocations: 7.938 kB / 0.8184 GB, free: 11.48 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.442e-05/0.006844, allocations: 161.1 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.006866, allocations: 13.14 kB / 0.8186 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.006973, allocations: 78.58 kB / 0.8186 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006975, allocations: 0 / 0.8186 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006977, allocations: 1.219 kB / 0.8186 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006979, allocations: 0 / 0.8186 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.0071, allocations: 133.1 kB / 0.8188 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007101, allocations: 5.062 kB / 0.8188 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.007151, allocations: 19.92 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.007154, allocations: 4 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-06/0.007158, allocations: 0.8125 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007159, allocations: 0 / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00716, allocations: 0.9375 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.007283, allocations: 232.5 kB / 0.819 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.007308, allocations: 13.28 kB / 0.819 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.007319, allocations: 8 kB / 0.819 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.007365, allocations: 7.984 kB / 0.819 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.007397, allocations: 11.98 kB / 0.819 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.007401, allocations: 0.875 kB / 0.819 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.007441, allocations: 139.1 kB / 0.8192 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007441, allocations: 2.031 kB / 0.8192 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001768/0.007617, allocations: 31.94 kB / 0.8192 GB, free: 10.58 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.000108/0.007725, allocations: 111.2 kB / 0.8193 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.783e-05/0.007813, allocations: 43.64 kB / 0.8194 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007814, allocations: 0.6875 kB / 0.8194 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.007849, allocations: 39.05 kB / 0.8194 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.008068, allocations: 31.84 kB / 0.8194 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.008349, allocations: 220.7 kB / 0.8196 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.008385, allocations: 71.75 kB / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.008422, allocations: 6.531 kB / 0.8197 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.008492, allocations: 82.19 kB / 0.8198 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.008492, allocations: 0 / 0.8198 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.003105/0.0116, allocations: 1.663 MB / 0.8214 GB, free: 8.316 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.84850412607193]