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.0008932/0.0008932, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0008729/0.0008729, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9247/0.9247, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.223/2.223, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 1.804e-06/1.804e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.952e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003208/0.003228, allocations: 1.75 MB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.004708, allocations: 0.7634 MB / 0.8922 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.004796, allocations: 0 / 0.8922 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.004847, allocations: 11.88 kB / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.00496, allocations: 23.72 kB / 0.8923 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.005432, allocations: 107.6 kB / 0.8924 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.005584, allocations: 107.6 kB / 0.8925 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.0057, allocations: 29.62 kB / 0.8925 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.005831, allocations: 67.81 kB / 0.8926 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.005901, allocations: 39.88 kB / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.005925, allocations: 12 kB / 0.8926 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.006223, allocations: 111.8 kB / 0.8927 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.006256, allocations: 23.91 kB / 0.8928 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.006293, allocations: 31.92 kB / 0.8928 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.006702, allocations: 151.5 kB / 0.8929 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.006706, allocations: 4 kB / 0.8929 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.31e-07/0.006707, allocations: 0 / 0.8929 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.006711, allocations: 0 / 0.8929 GB, free: 6.461 MB / 0.8542 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.0005001/0.007211, allocations: 467.5 kB / 0.8934 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.007256, allocations: 12.62 kB / 0.8934 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.007305, allocations: 20.84 kB / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.925e-05/0.007394, allocations: 128.5 kB / 0.8935 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.007411, allocations: 12.23 kB / 0.8935 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.007427, allocations: 12.38 kB / 0.8936 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.007623, allocations: 90.91 kB / 0.8936 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.007632, allocations: 192 / 0.8936 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.007644, allocations: 8.375 kB / 0.8936 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.007652, allocations: 7.938 kB / 0.8937 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.00772, allocations: 27.97 kB / 0.8937 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.008171, allocations: 336 kB / 0.894 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.008369, allocations: 75.03 kB / 0.8941 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.008418, allocations: 23.67 kB / 0.8941 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.008604, allocations: 43.97 kB / 0.8941 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.008634, allocations: 41.39 kB / 0.8942 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.008636, allocations: 0 / 0.8942 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0002071/0.008843, allocations: 85.5 kB / 0.8943 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.008867, allocations: 51.41 kB / 0.8943 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.008957, allocations: 181.9 kB / 0.8945 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.008972, allocations: 29.7 kB / 0.8945 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.009041, allocations: 159 kB / 0.8947 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.009072, allocations: 27.75 kB / 0.8947 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.009119, allocations: 31.34 kB / 0.8947 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.009253, allocations: 0.4922 MB / 0.8952 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.009283, allocations: 11.98 kB / 0.8952 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.00931, allocations: 11.94 kB / 0.8952 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.009371, allocations: 31.67 kB / 0.8953 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009373, allocations: 0 / 0.8953 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001194/0.009493, allocations: 74.14 kB / 0.8953 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.009506, allocations: 6.344 kB / 0.8953 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.009511, allocations: 0 / 0.8953 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.009524, allocations: 4 kB / 0.8953 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.009621, allocations: 15.98 kB / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.009625, allocations: 4 kB / 0.8954 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.009675, allocations: 15.89 kB / 0.8954 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.009683, allocations: 3.938 kB / 0.8954 GB, free: 3.758 MB / 0.8542 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.491e-05/0.009768, allocations: 164.5 kB / 0.8955 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.009798, allocations: 7.953 kB / 0.8955 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.009958, allocations: 82.12 kB / 0.8956 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.009961, allocations: 4 kB / 0.8956 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.009963, allocations: 0 / 0.8956 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009966, allocations: 0 / 0.8956 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01013, allocations: 133.1 kB / 0.8957 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01013, allocations: 4 kB / 0.8957 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.01022, allocations: 16 kB / 0.8958 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.01022, allocations: 3.984 kB / 0.8958 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.01023, allocations: 0 / 0.8958 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.01023, allocations: 4 kB / 0.8958 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01024, allocations: 4 kB / 0.8958 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.0104, allocations: 223.8 kB / 0.896 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.01044, allocations: 15.94 kB / 0.896 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.01045, allocations: 4 kB / 0.896 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.01053, allocations: 7.938 kB / 0.896 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.01058, allocations: 15.98 kB / 0.896 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.01059, allocations: 3.984 kB / 0.896 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.496e-05/0.01064, allocations: 141.8 kB / 0.8962 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01064, allocations: 0 / 0.8962 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002665/0.01091, allocations: 35.89 kB / 0.8962 GB, free: 2.84 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.0004105/0.01132, allocations: 111.2 kB / 0.8963 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.01144, allocations: 47.66 kB / 0.8964 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01144, allocations: 0 / 0.8964 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.01148, allocations: 27.61 kB / 0.8964 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.01179, allocations: 27.92 kB / 0.8964 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.01218, allocations: 218.2 kB / 0.8966 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.01222, allocations: 63.34 kB / 0.8967 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.241e-05/0.01227, allocations: 11.98 kB / 0.8967 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/0.01236, allocations: 86.19 kB / 0.8968 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.01236, allocations: 0 / 0.8968 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of Templates: time 0.004349/0.01671, allocations: 1.632 MB / 0.8984 GB, free: 0.5859 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.216302189044654]