Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000961/0.000961, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001272/0.001272, allocations: 165 kB / 23.02 MB, free: 1.555 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.114/2.114, allocations: 429.5 MB / 0.6732 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.854e-05, allocations: 3.594 kB / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002066/0.002084, allocations: 1.769 MB / 0.8799 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.003104, allocations: 0.7702 MB / 0.8807 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.003162, allocations: 0 / 0.8807 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.003201, allocations: 7.875 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.748e-05/0.003268, allocations: 24.91 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.003665, allocations: 100.5 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.003878, allocations: 116.1 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.003999, allocations: 21.89 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.004098, allocations: 71.8 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.004156, allocations: 41.02 kB / 0.8811 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.004177, allocations: 12 kB / 0.8811 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.004435, allocations: 112.9 kB / 0.8812 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.004456, allocations: 23.92 kB / 0.8812 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.004495, allocations: 35.89 kB / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.004702, allocations: 148.5 kB / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.004705, allocations: 0 / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004705, allocations: 4 kB / 0.8814 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.004709, allocations: 1.531 kB / 0.8814 GB, free: 3.012 MB / 0.8386 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.0005324/0.005242, allocations: 463.9 kB / 0.8818 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.005293, allocations: 13.16 kB / 0.8818 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.00535, allocations: 20.84 kB / 0.8819 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.005464, allocations: 120.5 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.005482, allocations: 8.969 kB / 0.882 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.0055, allocations: 4.375 kB / 0.882 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.005718, allocations: 117.3 kB / 0.8821 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.00573, allocations: 3.625 kB / 0.8821 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.005745, allocations: 4.375 kB / 0.8821 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.005757, allocations: 11.92 kB / 0.8821 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.03e-05/0.005827, allocations: 31.98 kB / 0.8821 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.006256, allocations: 359.4 kB / 0.8825 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.00648, allocations: 71.08 kB / 0.8826 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.006532, allocations: 35.66 kB / 0.8826 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.006714, allocations: 43.97 kB / 0.8826 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.006739, allocations: 41.33 kB / 0.8827 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.006742, allocations: 0 / 0.8827 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000223/0.006965, allocations: 89.56 kB / 0.8828 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.006989, allocations: 55.41 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.747e-05/0.007087, allocations: 188.9 kB / 0.883 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.007099, allocations: 25.7 kB / 0.883 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.007165, allocations: 155 kB / 0.8832 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.007192, allocations: 27.75 kB / 0.8832 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.007229, allocations: 35.38 kB / 0.8832 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.007353, allocations: 496.1 kB / 0.8837 GB, free: 460 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.007384, allocations: 15.98 kB / 0.8837 GB, free: 444 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.007408, allocations: 8 kB / 0.8837 GB, free: 436 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/0.007472, allocations: 48.11 kB / 0.8838 GB, free: 384 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.007476, allocations: 4 kB / 0.8838 GB, free: 380 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001121/0.007588, allocations: 77.58 kB / 0.8838 GB, free: 296 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.007603, allocations: 4 kB / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.007609, allocations: 0 / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.007631, allocations: 0 / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.007712, allocations: 31.97 kB / 0.8839 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.00772, allocations: 0 / 0.8839 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.007757, allocations: 15.83 kB / 0.8839 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.007766, allocations: 4 kB / 0.8839 GB, free: 240 kB / 0.8386 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.329e-05/0.007849, allocations: 156.6 kB / 0.884 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.007869, allocations: 15.89 kB / 0.8841 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.008041, allocations: 86.09 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.008044, allocations: 0 / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.008049, allocations: 0 / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.008055, allocations: 7.938 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.008198, allocations: 148.6 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.0082, allocations: 3.938 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.008253, allocations: 19.98 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008256, allocations: 0 / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.008266, allocations: 4 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.008268, allocations: 4 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008269, allocations: 0 / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.008414, allocations: 227.8 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.00844, allocations: 15.89 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.008452, allocations: 7.984 kB / 0.8846 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.466e-05/0.008497, allocations: 8 kB / 0.8846 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.00854, allocations: 7.984 kB / 0.8846 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.008545, allocations: 4 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.008587, allocations: 139.1 kB / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008587, allocations: 0 / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001764/0.008763, allocations: 39.83 kB / 0.8847 GB, free: 15.28 MB / 0.8542 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.000118/0.008881, allocations: 111.2 kB / 0.8849 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.008998, allocations: 51.59 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.009, allocations: 4 kB / 0.8849 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.009036, allocations: 27.62 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.009249, allocations: 28.62 kB / 0.885 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.009589, allocations: 226.2 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.009628, allocations: 67.34 kB / 0.8852 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.009662, allocations: 4 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.009694, allocations: 12.5 kB / 0.8853 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of SimCode: time 1.573e-06/0.009695, allocations: 0 / 0.8853 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.003266/0.01296, allocations: 1.475 MB / 0.8867 GB, free: 13.25 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.5808110209181905]