Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.0009746/0.0009746, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009938/0.0009938, allocations: 169 kB / 23.27 MB, free: 1.223 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.9542/0.9542, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.283/2.283, allocations: 438.1 MB / 0.682 GB, free: 14.19 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.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.798e-06/1.122e-05, allocations: 9.203 kB / 0.8898 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001096/0.001107, allocations: 0.7363 MB / 0.8905 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001538/0.001261, allocations: 59.73 kB / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.001303, allocations: 4 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.712e-05/0.00137, allocations: 3.938 kB / 0.8905 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.621e-05/0.001396, allocations: 3.938 kB / 0.8905 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 9.229e-05/0.001489, allocations: 23.91 kB / 0.8906 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.437e-05/0.001563, allocations: 59.89 kB / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.001677, allocations: 62.94 kB / 0.8907 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.001726, allocations: 55.89 kB / 0.8907 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.001778, allocations: 39.89 kB / 0.8908 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.001796, allocations: 12 kB / 0.8908 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.001808, allocations: 8 kB / 0.8908 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.001837, allocations: 27.91 kB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.001865, allocations: 31.92 kB / 0.8908 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.307e-05/0.001958, allocations: 83.66 kB / 0.8909 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.00196, allocations: 4 kB / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.81e-07/0.00196, allocations: 0 / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.001963, allocations: 0 / 0.8909 GB, free: 8.562 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0002668/0.00223, allocations: 428.2 kB / 0.8913 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.00226, allocations: 16.03 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.002289, allocations: 16.89 kB / 0.8914 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.002394, allocations: 144.4 kB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.002408, allocations: 12.38 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.002419, allocations: 12.38 kB / 0.8915 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.002523, allocations: 90.91 kB / 0.8916 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.002529, allocations: 4.125 kB / 0.8916 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.002537, allocations: 8.375 kB / 0.8916 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.002543, allocations: 8.375 kB / 0.8916 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.002587, allocations: 36.89 kB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.002939, allocations: 383.9 kB / 0.892 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.002982, allocations: 42.97 kB / 0.8921 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.204e-05/0.002994, allocations: 7.688 kB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.003007, allocations: 8 kB / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.003022, allocations: 37.39 kB / 0.8921 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.003023, allocations: 0 / 0.8921 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 8.993e-05/0.003113, allocations: 41.69 kB / 0.8922 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/0.003131, allocations: 51.53 kB / 0.8922 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.836e-05/0.003219, allocations: 213.7 kB / 0.8924 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.003228, allocations: 25.7 kB / 0.8924 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.003301, allocations: 182.4 kB / 0.8926 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.144e-06/0.003308, allocations: 7.922 kB / 0.8926 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.003345, allocations: 43.3 kB / 0.8927 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.003475, allocations: 0.4923 MB / 0.8931 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.003488, allocations: 7.984 kB / 0.8932 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.003498, allocations: 4 kB / 0.8932 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.003528, allocations: 23.67 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.003529, allocations: 0 / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.814e-05/0.003587, allocations: 69.62 kB / 0.8933 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.003597, allocations: 8 kB / 0.8933 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.0036, allocations: 3.938 kB / 0.8933 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.003608, allocations: 0 / 0.8933 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.00366, allocations: 15.97 kB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.003663, allocations: 4 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.003678, allocations: 3.953 kB / 0.8933 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.003685, allocations: 4 kB / 0.8933 GB, free: 5.941 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: 1 (mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.659e-05/0.003742, allocations: 160.5 kB / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.003757, allocations: 11.94 kB / 0.8935 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.003833, allocations: 60.89 kB / 0.8935 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.003835, allocations: 0 / 0.8935 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.003836, allocations: 0 / 0.8935 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.003839, allocations: 3.984 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.004061, allocations: 408.9 kB / 0.8939 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004061, allocations: 4 kB / 0.8939 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.004073, allocations: 3.984 kB / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004074, allocations: 0 / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-06/0.004077, allocations: 0 / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.004078, allocations: 4.062 kB / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004079, allocations: 0 / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.589e-05/0.004124, allocations: 80.31 kB / 0.894 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.004132, allocations: 7.938 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.004139, allocations: 0 / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.095e-05/0.00415, allocations: 4 kB / 0.894 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.004171, allocations: 8 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.004172, allocations: 0 / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.004211, allocations: 135.2 kB / 0.8941 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004211, allocations: 4 kB / 0.8941 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001182/0.004329, allocations: 27.91 kB / 0.8942 GB, free: 4.949 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: 1 (mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 5.471e-05/0.004384, allocations: 91.25 kB / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.527e-05/0.004439, allocations: 35.61 kB / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.00444, allocations: 0 / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.004453, allocations: 11.69 kB / 0.8943 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.83e-05/0.004551, allocations: 7.938 kB / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001818/0.004733, allocations: 190 kB / 0.8945 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.004764, allocations: 63.41 kB / 0.8946 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.136e-05/0.004825, allocations: 8 kB / 0.8946 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.004904, allocations: 74.19 kB / 0.8946 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/0.004905, allocations: 0 / 0.8946 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of Templates: time 0.002076/0.006981, allocations: 0.668 MB / 0.8953 GB, free: 3.762 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.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.865479191765189]