Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 197.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 75.88 kB / 0.8125 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.789/0.7904, allocations: 140.4 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001935/0.7924, allocations: 0.5937 MB / 0.9502 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002752/0.7927, allocations: 66.83 kB / 0.9502 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.7927, allocations: 0 / 0.9502 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.7927, allocations: 0 / 0.9502 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.7927, allocations: 0 / 0.9502 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.793, allocations: 28.16 kB / 0.9503 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.674e-05/0.7931, allocations: 9.438 kB / 0.9503 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.7931, allocations: 10.73 kB / 0.9503 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.7932, allocations: 2.75 kB / 0.9503 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.7932, allocations: 8.109 kB / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.7932, allocations: 0 / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.7933, allocations: 14.86 kB / 0.9503 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.7933, allocations: 9.297 kB / 0.9503 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.7933, allocations: 6.75 kB / 0.9503 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.7934, allocations: 21.41 kB / 0.9503 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.7934, allocations: 5.375 kB / 0.9503 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7934, allocations: 0 / 0.9503 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7935, allocations: 0 / 0.9503 GB, free: 8.508 MB / 0.7169 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.0003012/0.7938, allocations: 324.2 kB / 0.9507 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.7938, allocations: 9 kB / 0.9507 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.7938, allocations: 9.922 kB / 0.9507 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.481e-05/0.7939, allocations: 165.6 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.7939, allocations: 1.469 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.7939, allocations: 1.5 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.7941, allocations: 75.33 kB / 0.9509 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.7941, allocations: 192 / 0.9509 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.7941, allocations: 5.656 kB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.7941, allocations: 0 / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.545e-05/0.7941, allocations: 18.2 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.7943, allocations: 184.8 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.705e-05/0.7944, allocations: 97.64 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.7944, allocations: 41.55 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.7946, allocations: 83.75 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.7946, allocations: 33.25 kB / 0.9513 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.7946, allocations: 3.984 kB / 0.9514 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.00018/0.7948, allocations: 81.73 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.7948, allocations: 159.6 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.886e-05/0.7949, allocations: 91.08 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.7949, allocations: 25.7 kB / 0.9517 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.308e-06/0.7949, allocations: 80.14 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.7949, allocations: 18.91 kB / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.795, allocations: 26.3 kB / 0.9518 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.795, allocations: 311.9 kB / 0.9521 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.795, allocations: 7.5 kB / 0.9521 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.7951, allocations: 37.84 kB / 0.9522 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.7951, allocations: 47.45 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7951, allocations: 1.5 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.611e-05/0.7952, allocations: 64.52 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7952, allocations: 6.219 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7953, allocations: 1.406 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7953, allocations: 9 kB / 0.9523 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.7953, allocations: 12.34 kB / 0.9523 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.7954, allocations: 13.2 kB / 0.9523 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.7954, allocations: 6.406 kB / 0.9523 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.7954, allocations: 6.547 kB / 0.9523 GB, free: 6.277 MB / 0.7169 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 4.802e-05/0.7955, allocations: 108.4 kB / 0.9524 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.7955, allocations: 6.625 kB / 0.9524 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.7957, allocations: 100.5 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7957, allocations: 2.594 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7957, allocations: 1.312 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7957, allocations: 1.438 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.707e-05/0.7958, allocations: 166.7 kB / 0.9527 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7958, allocations: 5.312 kB / 0.9527 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.7958, allocations: 21.77 kB / 0.9527 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7959, allocations: 1.344 kB / 0.9527 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.7959, allocations: 5.5 kB / 0.9527 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.7959, allocations: 2.75 kB / 0.9527 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7959, allocations: 1.406 kB / 0.9527 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.796, allocations: 133 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.796, allocations: 82.92 kB / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.796, allocations: 6.75 kB / 0.9529 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.7961, allocations: 1.625 kB / 0.9529 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.7961, allocations: 15.83 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.7961, allocations: 3.938 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.163e-05/0.7961, allocations: 79.28 kB / 0.953 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7961, allocations: 0 / 0.953 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001986/0.7963, allocations: 6.156 kB / 0.953 GB, free: 5.543 MB / 0.7169 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.0001461/0.7965, allocations: 107.8 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.7966, allocations: 35.58 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7966, allocations: 1.5 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.7967, allocations: 27.42 kB / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.7968, allocations: 16.36 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.7971, allocations: 143.2 kB / 0.9534 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.7972, allocations: 0.6799 MB / 0.954 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.7973, allocations: 12.77 kB / 0.954 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.7973, allocations: 11.25 kB / 0.954 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7973, allocations: 1.406 kB / 0.954 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of Templates: time 0.002633/0.8, allocations: 0.5596 MB / 0.9546 GB, free: 4.254 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches