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.009183/0.009183, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002145/0.002145, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.461/2.461, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.09 kB / 0.9509 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.333, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002154/0.3352, allocations: 0.5921 MB / 1.089 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003175/0.3355, allocations: 55.78 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.3356, allocations: 0 / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.3356, allocations: 0 / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.837e-06/0.3357, allocations: 7.938 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.336, allocations: 27.91 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.336, allocations: 11.98 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.3361, allocations: 352 / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.3361, allocations: 4 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.3362, allocations: 15.92 kB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.3362, allocations: 0 / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.072e-05/0.3363, allocations: 19.97 kB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.3363, allocations: 0 / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.3363, allocations: 11.94 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3365, allocations: 19.95 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3365, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3365, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3365, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 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.0004203/0.3369, allocations: 327.5 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.337, allocations: 8.031 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.337, allocations: 4.938 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3371, allocations: 168.3 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3371, allocations: 4.359 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3372, allocations: 8.375 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3373, allocations: 70.53 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3373, allocations: 8.188 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3373, allocations: 7.875 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3374, allocations: 3.938 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.3374, allocations: 11.94 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.3376, allocations: 181.2 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.3377, allocations: 97.06 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.3378, allocations: 36.36 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.338, allocations: 85.11 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.338, allocations: 42.55 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.654e-06/0.338, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002032/0.3382, allocations: 73.45 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.3383, allocations: 162.8 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.891e-05/0.3384, allocations: 89.86 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3384, allocations: 37.69 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.3384, allocations: 80.14 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.3385, allocations: 7.906 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3385, allocations: 17.72 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3387, allocations: 318.8 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.3387, allocations: 0 / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-05/0.3387, allocations: 40.3 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.417e-05/0.3388, allocations: 48.22 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3388, allocations: 7.938 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.966e-05/0.3389, allocations: 65.56 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3389, allocations: 4 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3389, allocations: 4 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.339, allocations: 3.938 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3391, allocations: 11.98 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3391, allocations: 3.938 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.3391, allocations: 7.938 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.3391, allocations: 8.156 kB / 1.091 GB, free: 14.4 MB / 0.8575 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 6.948e-05/0.3392, allocations: 109.8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.3392, allocations: 7.953 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.3395, allocations: 104.7 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3395, allocations: 4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3395, allocations: 4.125 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3395, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3396, allocations: 165.6 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3396, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.3397, allocations: 19.88 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3397, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3397, allocations: 7.938 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3397, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3398, allocations: 7.984 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.3399, allocations: 124.5 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.34, allocations: 85.05 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.34, allocations: 3.938 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/0.34, allocations: 12 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.34, allocations: 7.984 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3401, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.3401, allocations: 76.7 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3401, allocations: 3.938 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002209/0.3403, allocations: 8 kB / 1.091 GB, free: 13.54 MB / 0.8575 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.0001805/0.3405, allocations: 103.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.3406, allocations: 35.92 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.3406, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.3407, allocations: 24.03 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.3409, allocations: 15.92 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.3411, allocations: 149 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.3414, allocations: 0.6807 MB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.3414, allocations: 4 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.3415, allocations: 11.44 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.3415, allocations: 4 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.002658/0.3441, allocations: 0.5747 MB / 1.093 GB, free: 11.87 MB / 0.8575 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