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.002214/0.002214, allocations: 88.33 kB / 20.23 MB, free: 4.172 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.002705/0.002705, allocations: 165.6 kB / 23.55 MB, free: 0.8594 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.05/3.05, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.785e-06/2.785e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.158e-05/5.436e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.007461/0.007515, allocations: 1.715 MB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.01017, allocations: 0.7309 MB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.0103, allocations: 4 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.883e-05/0.01038, allocations: 11.86 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.01055, allocations: 25.08 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008216/0.01138, allocations: 104.4 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.01171, allocations: 116.5 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.01191, allocations: 25.28 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.01215, allocations: 59.89 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.01228, allocations: 44.41 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.01233, allocations: 12.56 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005481/0.01288, allocations: 113.1 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.01293, allocations: 19.92 kB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.997e-05/0.01303, allocations: 31.91 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.01365, allocations: 191.3 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.01366, allocations: 2.375 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.204e-06/0.01366, allocations: 0 / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.01367, allocations: 0 / 0.814 GB, free: 14.86 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.001328/0.015, allocations: 366.2 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 8.2e-05/0.01508, allocations: 12.02 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.01521, allocations: 26.38 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.01546, allocations: 125.6 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.01549, allocations: 8.375 kB / 0.8145 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.01552, allocations: 4.375 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.01614, allocations: 115.4 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01616, allocations: 192 / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.01619, allocations: 8.906 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.0162, allocations: 4.812 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.01694, allocations: 121 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.01797, allocations: 301.6 kB / 0.815 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.01866, allocations: 103.8 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.01907, allocations: 61.53 kB / 0.8152 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004184/0.01949, allocations: 40.61 kB / 0.8152 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.01954, allocations: 31.22 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 2.385e-06/0.01954, allocations: 4 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.001262/0.02081, allocations: 191.1 kB / 0.8154 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.02088, allocations: 55.34 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.02109, allocations: 127 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.02113, allocations: 33.64 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.02128, allocations: 112.2 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/0.02135, allocations: 35.69 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.02144, allocations: 17.72 kB / 0.8158 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002929/0.02173, allocations: 322.8 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.02206, allocations: 40.47 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.02239, allocations: 45.89 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.02305, allocations: 102.6 kB / 0.8163 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.02306, allocations: 0 / 0.8163 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007926/0.02385, allocations: 142.8 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.02388, allocations: 8.516 kB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.02389, allocations: 0.9062 kB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/0.02393, allocations: 0 / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.02421, allocations: 28.77 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.02422, allocations: 0 / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.02442, allocations: 17.2 kB / 0.8165 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.02444, allocations: 4 kB / 0.8165 GB, free: 12.14 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.0002048/0.02465, allocations: 122.5 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.02472, allocations: 7.953 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008813/0.0256, allocations: 152.4 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.02561, allocations: 0.9375 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.02562, allocations: 3.984 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.02563, allocations: 11.94 kB / 0.8168 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.02601, allocations: 146.3 kB / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02601, allocations: 0 / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.02628, allocations: 25 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.02628, allocations: 0 / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.02631, allocations: 8 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.02631, allocations: 1.125 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02631, allocations: 0 / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/0.02719, allocations: 240.5 kB / 0.8172 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.02727, allocations: 8.453 kB / 0.8172 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.02731, allocations: 12.86 kB / 0.8172 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.02754, allocations: 7.984 kB / 0.8172 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.02764, allocations: 17.02 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.02765, allocations: 4 kB / 0.8172 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001398/0.02779, allocations: 101.6 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02779, allocations: 1.156 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005393/0.02833, allocations: 31.88 kB / 0.8173 GB, free: 11.2 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.0003593/0.02869, allocations: 120.2 kB / 0.8174 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007521/0.02944, allocations: 110.7 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02944, allocations: 0 / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.0298, allocations: 47.97 kB / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.0305, allocations: 31.67 kB / 0.8176 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009093/0.03141, allocations: 216.7 kB / 0.8178 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.03159, allocations: 93.23 kB / 0.8179 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.0317, allocations: 7.312 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.03177, allocations: 12.5 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of SimCode: time 1.202e-06/0.03177, allocations: 0 / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.005862/0.03763, allocations: 1.467 MB / 0.8194 GB, free: 9.109 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] 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.462338005076163]