Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.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.001007/0.001007, allocations: 82.05 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.001007/0.001007, allocations: 174 kB / 23.28 MB, free: 1.215 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.9384/0.9384, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.434/2.434, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.932e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001515/0.001535, allocations: 0.6071 MB / 0.8904 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.001776, allocations: 59.78 kB / 0.8905 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.001799, allocations: 3.938 kB / 0.8905 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.001815, allocations: 0 / 0.8905 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.906e-06/0.001824, allocations: 3.938 kB / 0.8905 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.00206, allocations: 27.97 kB / 0.8905 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.689e-05/0.002096, allocations: 7.984 kB / 0.8905 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.00213, allocations: 0 / 0.8905 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.002157, allocations: 11.98 kB / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.002199, allocations: 7.984 kB / 0.8905 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.002211, allocations: 4 kB / 0.8905 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.002286, allocations: 11.92 kB / 0.8905 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.002302, allocations: 4 kB / 0.8905 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.002317, allocations: 7.938 kB / 0.8905 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.959e-05/0.002407, allocations: 23.89 kB / 0.8906 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002409, allocations: 0 / 0.8906 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.71e-07/0.00241, allocations: 4 kB / 0.8906 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.002413, allocations: 0 / 0.8906 GB, free: 8.922 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003258/0.002739, allocations: 360.7 kB / 0.8909 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.002783, allocations: 8.625 kB / 0.8909 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.002817, allocations: 0.9375 kB / 0.8909 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.786e-05/0.002885, allocations: 116.6 kB / 0.891 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.002895, allocations: 384 / 0.891 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.002906, allocations: 8.375 kB / 0.891 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.003015, allocations: 84.61 kB / 0.8911 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003023, allocations: 192 / 0.8911 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.003031, allocations: 8.375 kB / 0.8911 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.003038, allocations: 4.375 kB / 0.8911 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.003065, allocations: 15.88 kB / 0.8912 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.003208, allocations: 132.2 kB / 0.8913 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.003304, allocations: 135.5 kB / 0.8914 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.003345, allocations: 54.41 kB / 0.8915 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.003455, allocations: 7.984 kB / 0.8915 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.003481, allocations: 41.33 kB / 0.8915 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.003483, allocations: 4 kB / 0.8915 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.0001511/0.003634, allocations: 69.55 kB / 0.8916 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.003695, allocations: 158.2 kB / 0.8917 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.727e-05/0.003742, allocations: 142.2 kB / 0.8919 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.003754, allocations: 29.64 kB / 0.8919 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.003788, allocations: 126.9 kB / 0.892 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.003824, allocations: 19.8 kB / 0.892 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.003858, allocations: 31.92 kB / 0.8921 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.003984, allocations: 0.4922 MB / 0.8925 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.003996, allocations: 4 kB / 0.8926 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.004031, allocations: 46.42 kB / 0.8926 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/0.004091, allocations: 58.38 kB / 0.8927 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004093, allocations: 0 / 0.8927 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.541e-05/0.004178, allocations: 65.59 kB / 0.8927 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.004192, allocations: 7.984 kB / 0.8927 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.004198, allocations: 4 kB / 0.8927 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.004209, allocations: 0 / 0.8927 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.004268, allocations: 8 kB / 0.8927 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.004272, allocations: 4 kB / 0.8927 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.004297, allocations: 0 / 0.8927 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.004306, allocations: 8 kB / 0.8927 GB, free: 6.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 7.452e-05/0.00438, allocations: 168.4 kB / 0.8929 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.004396, allocations: 4.125 kB / 0.8929 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.00455, allocations: 100.7 kB / 0.893 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.004554, allocations: 3.984 kB / 0.893 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.004556, allocations: 0 / 0.893 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.00456, allocations: 4 kB / 0.893 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.004691, allocations: 113.1 kB / 0.8931 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.004693, allocations: 160 / 0.8931 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.004741, allocations: 19.98 kB / 0.8931 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.004744, allocations: 4 kB / 0.8931 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.004749, allocations: 0 / 0.8931 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.004752, allocations: 4 kB / 0.8931 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.004753, allocations: 0 / 0.8931 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.004859, allocations: 146.9 kB / 0.8933 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.004867, allocations: 11.94 kB / 0.8933 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.004875, allocations: 4 kB / 0.8933 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.00489, allocations: 4 kB / 0.8933 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.004906, allocations: 7.984 kB / 0.8933 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.00491, allocations: 8 kB / 0.8933 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.004939, allocations: 123.1 kB / 0.8934 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.004939, allocations: 0 / 0.8934 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002307/0.00517, allocations: 8 kB / 0.8934 GB, free: 5.535 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0001299/0.0053, allocations: 103.1 kB / 0.8935 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.471e-05/0.005395, allocations: 43.55 kB / 0.8936 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005396, allocations: 0 / 0.8936 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.005437, allocations: 31.92 kB / 0.8936 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.005606, allocations: 11.98 kB / 0.8936 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.005862, allocations: 157 kB / 0.8938 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.005899, allocations: 55.36 kB / 0.8938 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.005931, allocations: 24.23 kB / 0.8939 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.005969, allocations: 70.2 kB / 0.8939 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.00597, allocations: 0 / 0.8939 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of Templates: time 0.001917/0.007887, allocations: 0.643 MB / 0.8945 GB, free: 4.324 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.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.298429898917675]