Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.001341/0.001341, 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.00115/0.00115, 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.9448/0.9448, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.413/2.413, allocations: 438.1 MB / 0.682 GB, free: 14.18 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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.932e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002009/0.002039, allocations: 0.6988 MB / 0.8905 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.00316, allocations: 0.8664 MB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.003205, allocations: 0 / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.003237, allocations: 7.922 kB / 0.8914 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.003308, allocations: 7.938 kB / 0.8914 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.003469, allocations: 19.86 kB / 0.8914 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.003549, allocations: 39.91 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.003636, allocations: 4 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.003726, allocations: 15.98 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.003777, allocations: 23.92 kB / 0.8915 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.003796, allocations: 0 / 0.8915 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.003806, allocations: 4 kB / 0.8915 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.003823, allocations: 7.984 kB / 0.8915 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003843, allocations: 11.98 kB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.891e-05/0.003922, allocations: 19.92 kB / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003925, allocations: 0 / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003926, allocations: 0 / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.003931, allocations: 4 kB / 0.8915 GB, free: 7.977 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003787/0.00431, allocations: 376.5 kB / 0.8919 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.004348, allocations: 12.62 kB / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.004379, allocations: 12.92 kB / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.267e-05/0.004462, allocations: 112.6 kB / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004473, allocations: 384 / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.004481, allocations: 4.375 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.004615, allocations: 58.94 kB / 0.8921 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004621, allocations: 192 / 0.8921 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.004629, allocations: 4.375 kB / 0.8921 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.004634, allocations: 384 / 0.8921 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.394e-05/0.004668, allocations: 11.92 kB / 0.8921 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.004947, allocations: 244.4 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.005015, allocations: 38.98 kB / 0.8923 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.005033, allocations: 15.75 kB / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.005053, allocations: 0 / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.005077, allocations: 37.39 kB / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.005078, allocations: 0 / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.005222, allocations: 41.62 kB / 0.8924 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.005251, allocations: 59.34 kB / 0.8925 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.005325, allocations: 162 kB / 0.8926 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.00534, allocations: 25.7 kB / 0.8927 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.005393, allocations: 138.9 kB / 0.8928 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.005409, allocations: 3.953 kB / 0.8928 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.005444, allocations: 19.38 kB / 0.8928 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.005573, allocations: 496.1 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.005605, allocations: 19.61 kB / 0.8933 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.005644, allocations: 45.08 kB / 0.8934 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.005678, allocations: 19.69 kB / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.00568, allocations: 0 / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.779e-05/0.005758, allocations: 45.72 kB / 0.8934 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.005772, allocations: 8 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005776, allocations: 0 / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.005791, allocations: 3.938 kB / 0.8934 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.005861, allocations: 11.98 kB / 0.8934 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.005864, allocations: 0 / 0.8934 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.0059, allocations: 11.89 kB / 0.8935 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.005904, allocations: 0 / 0.8935 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.663e-05/0.005951, allocations: 130.9 kB / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.896e-05/0.00598, allocations: 53.11 kB / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.787e-05/0.005998, allocations: 11.69 kB / 0.8936 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.11e-07/0.005998, allocations: 0 / 0.8936 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 5.661e-05/0.006055, allocations: 41.62 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.006061, allocations: 8 kB / 0.8937 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-07/0.006062, allocations: 0 / 0.8937 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-06/0.006063, allocations: 0 / 0.8937 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.834e-05/0.006092, allocations: 7.984 kB / 0.8937 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.006094, allocations: 4.188 kB / 0.8937 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.006117, allocations: 8.125 kB / 0.8937 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.006122, allocations: 8 kB / 0.8937 GB, free: 5.461 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 (2): * Single equations (assignments): 2 * 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 9.151e-05/0.006214, allocations: 268.1 kB / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.006234, allocations: 0 / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.006262, allocations: 11.61 kB / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.006265, allocations: 3.938 kB / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006266, allocations: 0 / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.006268, allocations: 0 / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.006387, allocations: 97.25 kB / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.006389, allocations: 3.984 kB / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.006427, allocations: 16 kB / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006428, allocations: 0 / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-06/0.006433, allocations: 0 / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006434, allocations: 0 / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.006437, allocations: 11.88 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.006558, allocations: 187.8 kB / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.006566, allocations: 4 kB / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.006574, allocations: 0 / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.757e-05/0.006632, allocations: 7.984 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.006657, allocations: 0 / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.006662, allocations: 11.97 kB / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.006703, allocations: 127.2 kB / 0.8944 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006703, allocations: 0 / 0.8944 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002575/0.006961, allocations: 8 kB / 0.8944 GB, free: 4.66 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 (2): * Single equations (assignments): 2 * 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.0001107/0.007072, allocations: 91.25 kB / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.714e-05/0.007169, allocations: 35.3 kB / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00717, allocations: 0 / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.007191, allocations: 11.81 kB / 0.8946 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.007429, allocations: 12.06 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.007707, allocations: 114.4 kB / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.007743, allocations: 59.3 kB / 0.8948 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.007767, allocations: 3.984 kB / 0.8948 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.007822, allocations: 74.2 kB / 0.8948 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.007823, allocations: 3.938 kB / 0.8948 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of Templates: time 0.002692/0.01051, allocations: 0.7171 MB / 0.8955 GB, free: 3.484 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.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.261726773809642]