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.001702/0.001702, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002962/0.002963, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.414/2.414, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.873/0.8745, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.00181/0.8764, allocations: 0.6633 MB / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003104/0.8767, allocations: 62.3 kB / 0.9498 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.8768, allocations: 0 / 0.9498 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.8768, allocations: 3.938 kB / 0.9498 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-06/0.8768, allocations: 0 / 0.9498 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.8771, allocations: 28.12 kB / 0.9498 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.945e-05/0.8772, allocations: 10.75 kB / 0.9498 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.8773, allocations: 1.469 kB / 0.9498 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.751e-05/0.8773, allocations: 6.641 kB / 0.9499 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.8774, allocations: 12.02 kB / 0.9499 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.8774, allocations: 1.375 kB / 0.9499 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.8775, allocations: 14.86 kB / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.8775, allocations: 1.375 kB / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.8775, allocations: 5.375 kB / 0.9499 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.861e-05/0.8776, allocations: 26.77 kB / 0.9499 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8776, allocations: 0 / 0.9499 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8776, allocations: 4 kB / 0.9499 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.8776, allocations: 0 / 0.9499 GB, free: 8.551 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.0004091/0.8781, allocations: 325.7 kB / 0.9502 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.8781, allocations: 9.625 kB / 0.9502 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.8782, allocations: 8.844 kB / 0.9502 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.8783, allocations: 165.8 kB / 0.9504 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.8783, allocations: 1.75 kB / 0.9504 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.8783, allocations: 5.75 kB / 0.9504 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.8785, allocations: 74.73 kB / 0.9505 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.8785, allocations: 192 / 0.9505 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.8786, allocations: 5.312 kB / 0.9505 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8786, allocations: 0 / 0.9505 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.609e-05/0.8786, allocations: 14.8 kB / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.8789, allocations: 180.6 kB / 0.9507 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.879, allocations: 97 kB / 0.9508 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.879, allocations: 37.8 kB / 0.9508 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.8793, allocations: 89.16 kB / 0.9509 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.8793, allocations: 39.88 kB / 0.9509 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.8793, allocations: 1.375 kB / 0.9509 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001807/0.8795, allocations: 72.88 kB / 0.951 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.8796, allocations: 163.5 kB / 0.9512 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.131e-05/0.8796, allocations: 89.86 kB / 0.9512 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.8796, allocations: 31.08 kB / 0.9513 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.232e-05/0.8796, allocations: 84.08 kB / 0.9513 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.8797, allocations: 19.11 kB / 0.9514 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.8797, allocations: 29.83 kB / 0.9514 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.8797, allocations: 312.2 kB / 0.9517 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.8798, allocations: 2.75 kB / 0.9517 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.8798, allocations: 37.78 kB / 0.9517 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.8798, allocations: 48.61 kB / 0.9518 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8799, allocations: 0 / 0.9518 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.838e-05/0.8799, allocations: 66.19 kB / 0.9518 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.88, allocations: 5.5 kB / 0.9518 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.88, allocations: 9.344 kB / 0.9519 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.88, allocations: 9.469 kB / 0.9519 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.8801, allocations: 8.25 kB / 0.9519 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8801, allocations: 1.375 kB / 0.9519 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.8801, allocations: 5.281 kB / 0.9519 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.8801, allocations: 2.75 kB / 0.9519 GB, free: 6.328 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.87e-05/0.8802, allocations: 120.5 kB / 0.952 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.8802, allocations: 2.75 kB / 0.952 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.8804, allocations: 104.4 kB / 0.9521 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.8804, allocations: 6.734 kB / 0.9521 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8804, allocations: 1.375 kB / 0.9521 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.8804, allocations: 1.375 kB / 0.9521 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.59e-05/0.8805, allocations: 159.3 kB / 0.9523 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8805, allocations: 1.375 kB / 0.9523 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.8806, allocations: 16.19 kB / 0.9523 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8806, allocations: 6.641 kB / 0.9523 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.8806, allocations: 5.094 kB / 0.9523 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.8806, allocations: 6.5 kB / 0.9523 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8806, allocations: 1.312 kB / 0.9523 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.8807, allocations: 128.4 kB / 0.9524 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.8808, allocations: 87.62 kB / 0.9525 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.8808, allocations: 7.094 kB / 0.9525 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.8808, allocations: 4.969 kB / 0.9525 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.8808, allocations: 4.344 kB / 0.9525 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.8809, allocations: 3.938 kB / 0.9525 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.622e-05/0.8809, allocations: 75.28 kB / 0.9526 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8809, allocations: 7.938 kB / 0.9526 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002135/0.8811, allocations: 13.58 kB / 0.9526 GB, free: 5.582 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.0001565/0.8813, allocations: 104.2 kB / 0.9527 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.8814, allocations: 32.92 kB / 0.9527 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8814, allocations: 0 / 0.9527 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.8814, allocations: 28.23 kB / 0.9528 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.8816, allocations: 14.69 kB / 0.9528 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.8818, allocations: 152.4 kB / 0.9529 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.882, allocations: 0.6848 MB / 0.9536 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.007e-05/0.882, allocations: 12.34 kB / 0.9536 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.8821, allocations: 19.55 kB / 0.9536 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8821, allocations: 0 / 0.9536 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.002689/0.8848, allocations: 0.5573 MB / 0.9542 GB, free: 4.281 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