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.0009952/0.0009952, 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.001531/0.001531, allocations: 167.8 kB / 24.87 MB, free: 9.207 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.9991/0.9991, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.786/1.786, allocations: 359 MB / 0.6063 GB, free: 10.89 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.684e-06/1.684e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.748e-05, allocations: 5.125 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002228/0.002256, allocations: 1.752 MB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.003175, allocations: 0.754 MB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.003224, allocations: 0 / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.003257, allocations: 11.86 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.003325, allocations: 29.58 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.003634, allocations: 105.3 kB / 0.7909 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.003741, allocations: 115.5 kB / 0.791 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.003831, allocations: 21.3 kB / 0.7911 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.003921, allocations: 67.86 kB / 0.7911 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.00397, allocations: 33.12 kB / 0.7912 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.003987, allocations: 8 kB / 0.7912 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.004196, allocations: 127.7 kB / 0.7913 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.004215, allocations: 20.61 kB / 0.7913 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.004246, allocations: 35.91 kB / 0.7913 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.004427, allocations: 149 kB / 0.7915 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.00443, allocations: 4 kB / 0.7915 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004431, allocations: 0 / 0.7915 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.004435, allocations: 0 / 0.7915 GB, free: 8.961 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.0003694/0.004804, allocations: 464.9 kB / 0.7919 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.004833, allocations: 11.31 kB / 0.7919 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.004866, allocations: 24.84 kB / 0.792 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/0.004953, allocations: 124.5 kB / 0.7921 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.004965, allocations: 8.375 kB / 0.7921 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.004977, allocations: 8.375 kB / 0.7921 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.00511, allocations: 100.8 kB / 0.7922 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.005116, allocations: 192 / 0.7922 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.005125, allocations: 4.375 kB / 0.7922 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005131, allocations: 8.656 kB / 0.7922 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.005177, allocations: 31.91 kB / 0.7922 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.005493, allocations: 341.6 kB / 0.7926 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.005631, allocations: 63.12 kB / 0.7926 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.479e-05/0.005666, allocations: 31.64 kB / 0.7927 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.005797, allocations: 37.53 kB / 0.7927 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.005817, allocations: 37.39 kB / 0.7927 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.005818, allocations: 1.344 kB / 0.7927 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001563/0.005975, allocations: 89.5 kB / 0.7928 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.005999, allocations: 51.41 kB / 0.7929 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.669e-05/0.006076, allocations: 188.8 kB / 0.793 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.006089, allocations: 29.7 kB / 0.7931 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.006146, allocations: 147 kB / 0.7932 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.006173, allocations: 35.69 kB / 0.7932 GB, free: 7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.006207, allocations: 27.91 kB / 0.7933 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.006322, allocations: 0.4977 MB / 0.7938 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.006342, allocations: 11.98 kB / 0.7938 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.006359, allocations: 4 kB / 0.7938 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.006403, allocations: 39.66 kB / 0.7938 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.006405, allocations: 0 / 0.7938 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.302e-05/0.006488, allocations: 66.56 kB / 0.7939 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.0065, allocations: 7.984 kB / 0.7939 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.006503, allocations: 0.5312 kB / 0.7939 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.006509, allocations: 0 / 0.7939 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.006573, allocations: 24.47 kB / 0.7939 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.006576, allocations: 5.078 kB / 0.7939 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.006609, allocations: 15.94 kB / 0.7939 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006615, allocations: 4.531 kB / 0.7939 GB, free: 6.273 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 0.000331/0.006946, allocations: 157.1 kB / 0.7941 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.006968, allocations: 11.95 kB / 0.7941 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.007086, allocations: 83.41 kB / 0.7942 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007088, allocations: 0 / 0.7942 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007089, allocations: 5.156 kB / 0.7942 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007092, allocations: 0 / 0.7942 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.007205, allocations: 129.1 kB / 0.7943 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007206, allocations: 0.9375 kB / 0.7943 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.007258, allocations: 19.98 kB / 0.7943 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.00726, allocations: 0.8125 kB / 0.7943 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.007265, allocations: 0 / 0.7943 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007266, allocations: 0.9375 kB / 0.7943 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007267, allocations: 0 / 0.7943 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.007383, allocations: 232.5 kB / 0.7945 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.007409, allocations: 17.28 kB / 0.7946 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.007418, allocations: 0 / 0.7946 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.007463, allocations: 8 kB / 0.7946 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.007496, allocations: 12.89 kB / 0.7946 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.0075, allocations: 4 kB / 0.7946 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.007541, allocations: 141.8 kB / 0.7947 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007541, allocations: 2.312 kB / 0.7947 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001698/0.007711, allocations: 35.92 kB / 0.7947 GB, free: 5.379 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.0001072/0.007818, allocations: 107.2 kB / 0.7949 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.172e-05/0.0079, allocations: 43.69 kB / 0.7949 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007901, allocations: 7.438 kB / 0.7949 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.007931, allocations: 31.8 kB / 0.7949 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.008137, allocations: 27.86 kB / 0.795 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.00842, allocations: 218.9 kB / 0.7952 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.008456, allocations: 63.34 kB / 0.7952 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.008491, allocations: 10.95 kB / 0.7952 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.008559, allocations: 86.19 kB / 0.7953 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of SimCode: time 4.3e-07/0.00856, allocations: 0 / 0.7953 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.003227/0.01179, allocations: 1.664 MB / 0.7969 GB, free: 3.117 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.962048355024308]