Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009268/0.0009268, 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.0009473/0.0009473, 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 0.9254/0.9254, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.749/1.749, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.72e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002624/0.002652, allocations: 1.735 MB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003721, allocations: 0.7593 MB / 0.79 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.003783, allocations: 7.938 kB / 0.79 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.003818, allocations: 7.875 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.003882, allocations: 16.86 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.004222, allocations: 105 kB / 0.7902 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.004329, allocations: 111.6 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.004427, allocations: 29.28 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.793e-05/0.004524, allocations: 65.78 kB / 0.7904 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.004572, allocations: 39.88 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.00459, allocations: 12 kB / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.004804, allocations: 115.8 kB / 0.7905 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.004824, allocations: 23.91 kB / 0.7905 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.004852, allocations: 38.16 kB / 0.7906 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.005033, allocations: 147.5 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.005037, allocations: 3.984 kB / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/0.005038, allocations: 3.938 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.005042, allocations: 0 / 0.7907 GB, free: 8.906 MB / 0.7448 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.0003875/0.00543, allocations: 456.5 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.005468, allocations: 13.66 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.005502, allocations: 16.84 kB / 0.7912 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.785e-05/0.00558, allocations: 132.5 kB / 0.7913 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.005591, allocations: 4.375 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.005603, allocations: 13.75 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.005753, allocations: 104.7 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.005759, allocations: 192 / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.00577, allocations: 10.12 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005775, allocations: 3.938 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.005819, allocations: 23.98 kB / 0.7915 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.006144, allocations: 336.9 kB / 0.7918 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.006294, allocations: 71.09 kB / 0.7919 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.006327, allocations: 28.28 kB / 0.7919 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.006464, allocations: 45.89 kB / 0.7919 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.006482, allocations: 33.39 kB / 0.792 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.006484, allocations: 0 / 0.792 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001501/0.006634, allocations: 89.73 kB / 0.7921 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.006656, allocations: 57.81 kB / 0.7921 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.00674, allocations: 180.5 kB / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.006752, allocations: 29.7 kB / 0.7923 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.006809, allocations: 155 kB / 0.7925 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.006834, allocations: 27.7 kB / 0.7925 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.006869, allocations: 31.34 kB / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004001/0.007269, allocations: 0.4968 MB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.007288, allocations: 4 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.007307, allocations: 12.53 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.007353, allocations: 35.61 kB / 0.7931 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.007355, allocations: 1.656 kB / 0.7931 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.807e-05/0.007443, allocations: 73.58 kB / 0.7931 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.007457, allocations: 4 kB / 0.7931 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.007461, allocations: 4 kB / 0.7931 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.007471, allocations: 0.6562 kB / 0.7931 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.007544, allocations: 21.23 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.007547, allocations: 0 / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.007575, allocations: 7.938 kB / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.007581, allocations: 7.938 kB / 0.7932 GB, free: 6.23 MB / 0.7448 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.348e-05/0.007665, allocations: 161.7 kB / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.007683, allocations: 11.95 kB / 0.7933 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.00781, allocations: 82.95 kB / 0.7934 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007813, allocations: 0.8438 kB / 0.7934 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.007814, allocations: 0 / 0.7934 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.007817, allocations: 1.281 kB / 0.7934 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.007926, allocations: 133.1 kB / 0.7935 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007928, allocations: 0 / 0.7935 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.00798, allocations: 24.67 kB / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.007982, allocations: 0 / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.007989, allocations: 4.875 kB / 0.7936 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.00799, allocations: 4 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007991, allocations: 0 / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.008104, allocations: 221.3 kB / 0.7938 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.008132, allocations: 23.91 kB / 0.7938 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.008141, allocations: 0 / 0.7938 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.008185, allocations: 15.92 kB / 0.7938 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.008217, allocations: 9.078 kB / 0.7938 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.008221, allocations: 0 / 0.7938 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.008258, allocations: 139.1 kB / 0.794 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008259, allocations: 3.25 kB / 0.794 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001639/0.008422, allocations: 27.94 kB / 0.794 GB, free: 5.332 MB / 0.7448 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.0001527/0.008575, allocations: 115.2 kB / 0.7941 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.825e-05/0.008663, allocations: 44.16 kB / 0.7941 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008665, allocations: 0 / 0.7941 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.008696, allocations: 31.8 kB / 0.7942 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.008913, allocations: 33.88 kB / 0.7942 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.009217, allocations: 219.1 kB / 0.7944 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.009253, allocations: 67.94 kB / 0.7945 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.009285, allocations: 10.8 kB / 0.7945 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.009353, allocations: 90.19 kB / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.009354, allocations: 0 / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.003401/0.01276, allocations: 1.629 MB / 0.7962 GB, free: 3.078 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.866008567158133]