Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008673/0.0008673, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008321/0.0008321, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8986/0.8986, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.801/1.801, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9823 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.183e-05, allocations: 6.219 kB / 0.9823 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001055/0.001076, allocations: 0.6034 MB / 0.9829 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002123/0.001289, allocations: 55.73 kB / 0.9829 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.562e-05/0.001304, allocations: 0 / 0.9829 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.001319, allocations: 3.938 kB / 0.9829 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.001327, allocations: 0 / 0.9829 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.001553, allocations: 23.97 kB / 0.9829 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.001601, allocations: 11.98 kB / 0.9829 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.00164, allocations: 0 / 0.9829 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.001669, allocations: 7.984 kB / 0.983 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.001711, allocations: 15.92 kB / 0.983 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.001723, allocations: 4 kB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.001792, allocations: 11.94 kB / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.001807, allocations: 7.984 kB / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.001822, allocations: 3.984 kB / 0.983 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 7.692e-05/0.001899, allocations: 15.98 kB / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.0019, allocations: 0 / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.91e-07/0.001901, allocations: 0 / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.001904, allocations: 3.938 kB / 0.983 GB, free: 1.242 MB / 0.9323 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.0002539/0.002158, allocations: 258.3 kB / 0.9833 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.002192, allocations: 12.03 kB / 0.9833 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.00222, allocations: 4.938 kB / 0.9833 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.135e-05/0.002271, allocations: 105.8 kB / 0.9834 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.002281, allocations: 384 / 0.9834 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.00229, allocations: 384 / 0.9834 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.002396, allocations: 74.48 kB / 0.9834 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.002403, allocations: 192 / 0.9834 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.002412, allocations: 384 / 0.9834 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.002416, allocations: 384 / 0.9834 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.002447, allocations: 27.8 kB / 0.9835 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.002561, allocations: 128.9 kB / 0.9836 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/0.002639, allocations: 101 kB / 0.9837 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.002667, allocations: 32.36 kB / 0.9837 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.002797, allocations: 7.984 kB / 0.9837 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.002817, allocations: 38.5 kB / 0.9838 GB, free: 284 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.002818, allocations: 0 / 0.9838 GB, free: 284 kB / 0.9323 GB Notification: Performance of matching and sorting (n=5): time 0.0001462/0.002964, allocations: 69.56 kB / 0.9838 GB, free: 208 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.003016, allocations: 162.8 kB / 0.984 GB, free: 8 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.602e-05/0.003052, allocations: 93.86 kB / 0.9841 GB, free: 15.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.003062, allocations: 25.7 kB / 0.9841 GB, free: 15.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.95e-05/0.003082, allocations: 84.14 kB / 0.9842 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.003114, allocations: 19.86 kB / 0.9842 GB, free: 15.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.003138, allocations: 17.72 kB / 0.9842 GB, free: 15.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.003214, allocations: 318.8 kB / 0.9845 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.00323, allocations: 7.938 kB / 0.9845 GB, free: 15.42 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.003253, allocations: 32.3 kB / 0.9846 GB, free: 15.37 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.311e-05/0.003307, allocations: 56.22 kB / 0.9846 GB, free: 15.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.003309, allocations: 0 / 0.9846 GB, free: 15.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.865e-05/0.003377, allocations: 61.56 kB / 0.9847 GB, free: 15.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.003393, allocations: 4 kB / 0.9847 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.003399, allocations: 4 kB / 0.9847 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.003409, allocations: 0 / 0.9847 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.00372, allocations: 15.98 kB / 0.9847 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.003725, allocations: 4.156 kB / 0.9847 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.003746, allocations: 11.88 kB / 0.9847 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.003752, allocations: 4 kB / 0.9847 GB, free: 15.19 MB / 0.948 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 5.387e-05/0.003806, allocations: 105.8 kB / 0.9848 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.003815, allocations: 11.98 kB / 0.9848 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.003948, allocations: 96.75 kB / 0.9849 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.003952, allocations: 8.031 kB / 0.9849 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.003956, allocations: 3.938 kB / 0.9849 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.003961, allocations: 7.984 kB / 0.9849 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.101e-05/0.004032, allocations: 105.3 kB / 0.985 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.004035, allocations: 4 kB / 0.985 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.004066, allocations: 23.92 kB / 0.9851 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.004067, allocations: 3.938 kB / 0.9851 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.004073, allocations: 4 kB / 0.9851 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.004074, allocations: 0 / 0.9851 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.004076, allocations: 4 kB / 0.9851 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.636e-05/0.004163, allocations: 124.4 kB / 0.9852 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.004169, allocations: 11.88 kB / 0.9852 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.004179, allocations: 4 kB / 0.9852 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.385e-05/0.004193, allocations: 0 / 0.9852 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.004213, allocations: 23.84 kB / 0.9852 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.004217, allocations: 4 kB / 0.9852 GB, free: 14.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.642e-05/0.004233, allocations: 75.28 kB / 0.9853 GB, free: 14.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.004233, allocations: 0 / 0.9853 GB, free: 14.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001338/0.004367, allocations: 8 kB / 0.9853 GB, free: 14.5 MB / 0.948 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 9.998e-05/0.004467, allocations: 107.8 kB / 0.9854 GB, free: 14.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.008e-05/0.004547, allocations: 35.92 kB / 0.9855 GB, free: 14.35 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.004549, allocations: 0 / 0.9855 GB, free: 14.35 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.53e-05/0.004574, allocations: 27.92 kB / 0.9855 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.004679, allocations: 4 kB / 0.9855 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.004889, allocations: 174 kB / 0.9857 GB, free: 14.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.845e-05/0.004928, allocations: 74.94 kB / 0.9857 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.004949, allocations: 16.48 kB / 0.9857 GB, free: 14 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/0.00495, allocations: 0 / 0.9857 GB, free: 14 MB / 0.948 GB Notification: Performance of Templates: time 0.001446/0.006395, allocations: 0.7069 MB / 0.9864 GB, free: 13.29 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.439941903576255]