Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.002477/0.002477, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.002061/0.00206, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437.1 MB / 0.7112 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 63.94 kB / 0.8707 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3044, allocations: 151.6 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001941/0.3063, allocations: 0.6116 MB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000258/0.3066, allocations: 63.78 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.655e-05/0.3066, allocations: 0 / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.3067, allocations: 0 / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.3067, allocations: 3.938 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.307, allocations: 15.98 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.307, allocations: 11.97 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.3071, allocations: 8 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.3071, allocations: 8 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.3072, allocations: 11.92 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.3072, allocations: 0 / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.3073, allocations: 19.92 kB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.3073, allocations: 3.984 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.3073, allocations: 3.938 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.397e-05/0.3074, allocations: 23.97 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3074, allocations: 0 / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3074, allocations: 0 / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3074, allocations: 3.938 kB / 1.02 GB, free: 9.012 MB / 0.795 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.0003481/0.3078, allocations: 339.5 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3078, allocations: 8.922 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.3079, allocations: 0.9375 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.888e-05/0.308, allocations: 160.4 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.308, allocations: 4.375 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.308, allocations: 384 / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3081, allocations: 82.47 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3081, allocations: 192 / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3082, allocations: 7.875 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3082, allocations: 4 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.573e-05/0.3082, allocations: 7.938 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.3084, allocations: 189.2 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.284e-05/0.3085, allocations: 93.02 kB / 1.02 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.3086, allocations: 36.34 kB / 1.02 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.3087, allocations: 85.11 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3088, allocations: 34.5 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3088, allocations: 0 / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0001909/0.309, allocations: 77.98 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3091, allocations: 162.3 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.007e-05/0.3091, allocations: 89.86 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3091, allocations: 25.7 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.3091, allocations: 80.14 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.3092, allocations: 23.73 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.3092, allocations: 17.72 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3094, allocations: 310.8 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.3094, allocations: 15.92 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.3094, allocations: 32.3 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.098e-05/0.3095, allocations: 52.22 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3095, allocations: 0 / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001106/0.3096, allocations: 69.47 kB / 1.021 GB, free: 6.672 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3097, allocations: 10.66 kB / 1.021 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3097, allocations: 0 / 1.021 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3097, allocations: 7.938 kB / 1.021 GB, free: 6.656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3098, allocations: 11.98 kB / 1.021 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3098, allocations: 128 / 1.021 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.3098, allocations: 8.156 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3098, allocations: 4 kB / 1.022 GB, free: 6.633 MB / 0.795 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.029e-05/0.3099, allocations: 109.8 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.3099, allocations: 4 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.3101, allocations: 108.5 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3102, allocations: 4 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3102, allocations: 3.938 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3102, allocations: 7.984 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.3103, allocations: 169.6 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3103, allocations: 7.922 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.3104, allocations: 16 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3104, allocations: 0 / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3104, allocations: 7.938 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3104, allocations: 160 / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3104, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.3106, allocations: 124.4 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.3106, allocations: 81.11 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3106, allocations: 11.94 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.3107, allocations: 0 / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.3107, allocations: 11.98 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.3107, allocations: 8 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.3107, allocations: 76.81 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3107, allocations: 0 / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002088/0.311, allocations: 8 kB / 1.022 GB, free: 5.77 MB / 0.795 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.0001537/0.3111, allocations: 111.2 kB / 1.022 GB, free: 5.652 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3112, allocations: 35.86 kB / 1.022 GB, free: 5.617 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3112, allocations: 0 / 1.022 GB, free: 5.617 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.3113, allocations: 23.94 kB / 1.022 GB, free: 5.594 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3114, allocations: 4 kB / 1.022 GB, free: 5.59 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.3117, allocations: 157 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.312, allocations: 0.6845 MB / 1.023 GB, free: 4.688 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.312, allocations: 4 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.3121, allocations: 15.44 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.3121, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of Templates: time 0.002564/0.3146, allocations: 0.5515 MB / 1.024 GB, free: 4.117 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches