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.002/0.002, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002118/0.002118, allocations: 157.3 kB / 23.54 MB, free: 0.8789 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 1.626/1.626, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.169/3.169, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] 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.975e-06/2.975e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.147e-05/4.444e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.005845/0.005889, allocations: 1.742 MB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.008249, allocations: 0.7415 MB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.008365, allocations: 0 / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.725e-05/0.008432, allocations: 12.36 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.008599, allocations: 29.02 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.009276, allocations: 105.2 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.009575, allocations: 115.6 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.009747, allocations: 21.3 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.009962, allocations: 69.89 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.01007, allocations: 31.91 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.01011, allocations: 8 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.01062, allocations: 123.8 kB / 0.8138 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.01067, allocations: 19.92 kB / 0.8138 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.438e-05/0.01075, allocations: 32.47 kB / 0.8138 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005455/0.01129, allocations: 187.4 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.0113, allocations: 0.5312 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.423e-06/0.0113, allocations: 0.7188 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.01131, allocations: 0 / 0.814 GB, free: 14.88 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.001149/0.01246, allocations: 469.6 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.01251, allocations: 12.03 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.01261, allocations: 16.84 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.01281, allocations: 128.4 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.01283, allocations: 8.906 kB / 0.8146 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.01286, allocations: 9.719 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.01325, allocations: 106.2 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.01327, allocations: 192 / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.01329, allocations: 5.531 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.0133, allocations: 7.938 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.0137, allocations: 89.17 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.0145, allocations: 375.4 kB / 0.8152 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.01496, allocations: 107.8 kB / 0.8153 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.01517, allocations: 56.48 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.01549, allocations: 37.12 kB / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.01553, allocations: 33.39 kB / 0.8154 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 4.328e-06/0.01553, allocations: 4.828 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0006728/0.01621, allocations: 154.9 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.01627, allocations: 51.41 kB / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.01648, allocations: 203.7 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.01651, allocations: 26.83 kB / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.01664, allocations: 151 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.0167, allocations: 39.67 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.01677, allocations: 33.31 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003386/0.01711, allocations: 0.4923 MB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.01729, allocations: 35.92 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.01743, allocations: 31.97 kB / 0.8166 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.01775, allocations: 78.06 kB / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01775, allocations: 0 / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004225/0.01817, allocations: 121.5 kB / 0.8168 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.01819, allocations: 4.531 kB / 0.8168 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.0182, allocations: 0 / 0.8168 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01822, allocations: 5.938 kB / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.01837, allocations: 19.92 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.01838, allocations: 4 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.69e-05/0.01847, allocations: 11.88 kB / 0.8168 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.01849, allocations: 4.719 kB / 0.8168 GB, free: 11.8 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 0.0001717/0.01866, allocations: 165.2 kB / 0.817 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.01872, allocations: 11.95 kB / 0.817 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.01922, allocations: 137.9 kB / 0.8171 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01922, allocations: 0 / 0.8171 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01923, allocations: 0 / 0.8171 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.01924, allocations: 3.938 kB / 0.8171 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.01951, allocations: 160.6 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01951, allocations: 0 / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.01966, allocations: 23.98 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01967, allocations: 2.406 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.01969, allocations: 4 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01969, allocations: 0 / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01969, allocations: 0 / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.02019, allocations: 272.5 kB / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.02024, allocations: 15.94 kB / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.02026, allocations: 4.938 kB / 0.8176 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.975e-05/0.02036, allocations: 11.98 kB / 0.8176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.02042, allocations: 9.109 kB / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.02042, allocations: 0 / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001082/0.02053, allocations: 143.2 kB / 0.8177 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02053, allocations: 1.031 kB / 0.8177 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002712/0.0208, allocations: 35.88 kB / 0.8178 GB, free: 10.76 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.0002498/0.02105, allocations: 124.2 kB / 0.8179 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.02139, allocations: 96.58 kB / 0.818 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02139, allocations: 0 / 0.818 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.02154, allocations: 52.28 kB / 0.818 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.02188, allocations: 25.62 kB / 0.818 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.02248, allocations: 231.8 kB / 0.8183 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.02258, allocations: 84.94 kB / 0.8183 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.666e-05/0.02264, allocations: 11.19 kB / 0.8184 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.02268, allocations: 16.5 kB / 0.8184 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.02268, allocations: 0 / 0.8184 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.005488/0.02817, allocations: 1.469 MB / 0.8198 GB, free: 8.645 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.589777853921987]