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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001408/0.001409, allocations: 103.4 kB / 16.35 MB, free: 5.828 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.001179/0.001179, allocations: 196.6 kB / 17.3 MB, free: 5.484 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.214/1.214, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.001/2.001, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 69.39 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2123, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001567/0.2139, allocations: 0.5976 MB / 0.9517 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.2142, allocations: 75.75 kB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.2142, allocations: 0 / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.2142, allocations: 0 / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.2143, allocations: 3.938 kB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.2145, allocations: 23.86 kB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.333e-05/0.2145, allocations: 8 kB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.2145, allocations: 7.984 kB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.564e-05/0.2146, allocations: 11.98 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.2146, allocations: 0 / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.2146, allocations: 7.938 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.275e-05/0.2147, allocations: 11.98 kB / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.2147, allocations: 4 kB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.2147, allocations: 7.984 kB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.546e-05/0.2148, allocations: 19.91 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2148, allocations: 0 / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2148, allocations: 0 / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2148, allocations: 0 / 0.9519 GB, free: 7.246 MB / 0.7325 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.0003083/0.2152, allocations: 331.5 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.2152, allocations: 15.97 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.2152, allocations: 0.9375 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.602e-05/0.2153, allocations: 160.4 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.2153, allocations: 4.359 kB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2153, allocations: 8.375 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2154, allocations: 70.55 kB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2155, allocations: 4.125 kB / 0.9525 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.2155, allocations: 3.938 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2155, allocations: 0 / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.2155, allocations: 15.92 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.2157, allocations: 177.2 kB / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.943e-05/0.2158, allocations: 93.09 kB / 0.9527 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.2158, allocations: 42.47 kB / 0.9528 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.216, allocations: 89.08 kB / 0.9529 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.216, allocations: 38.56 kB / 0.9529 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.216, allocations: 0 / 0.9529 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001574/0.2162, allocations: 73.97 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.2162, allocations: 162.3 kB / 0.9531 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.984e-05/0.2163, allocations: 93.86 kB / 0.9532 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2163, allocations: 29.7 kB / 0.9532 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.2163, allocations: 80.14 kB / 0.9533 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2163, allocations: 15.69 kB / 0.9533 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2164, allocations: 21.7 kB / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.2165, allocations: 314.8 kB / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.2165, allocations: 8 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.2165, allocations: 36.28 kB / 0.9537 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.2166, allocations: 52.17 kB / 0.9537 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2166, allocations: 0 / 0.9537 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.162e-05/0.2167, allocations: 69.47 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.2167, allocations: 4 kB / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2167, allocations: 4 kB / 0.9538 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2167, allocations: 7.922 kB / 0.9538 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.2168, allocations: 11.94 kB / 0.9538 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2168, allocations: 4 kB / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.2168, allocations: 4.156 kB / 0.9538 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2169, allocations: 4 kB / 0.9538 GB, free: 4.867 MB / 0.7325 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.625e-05/0.2169, allocations: 113.8 kB / 0.954 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.2169, allocations: 4 kB / 0.954 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.2171, allocations: 108.7 kB / 0.9541 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2171, allocations: 7.984 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2171, allocations: 0 / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2171, allocations: 0 / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.2173, allocations: 169.6 kB / 0.9542 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2173, allocations: 0 / 0.9542 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.2173, allocations: 15.94 kB / 0.9542 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2173, allocations: 7.984 kB / 0.9543 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2173, allocations: 3.938 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2173, allocations: 4.156 kB / 0.9543 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2174, allocations: 4 kB / 0.9543 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.2175, allocations: 116.5 kB / 0.9544 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.2175, allocations: 85.09 kB / 0.9545 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.2175, allocations: 7.938 kB / 0.9545 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.2176, allocations: 8 kB / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.2176, allocations: 7.938 kB / 0.9545 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2176, allocations: 4 kB / 0.9545 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.023e-05/0.2176, allocations: 75.28 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.182e-06/0.2176, allocations: 0 / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001957/0.2178, allocations: 15.92 kB / 0.9546 GB, free: 4.008 MB / 0.7325 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.0001269/0.218, allocations: 111.2 kB / 0.9547 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.218e-05/0.2181, allocations: 31.92 kB / 0.9547 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2181, allocations: 4 kB / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.2181, allocations: 31.86 kB / 0.9547 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.2183, allocations: 8.031 kB / 0.9548 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.2185, allocations: 141 kB / 0.9549 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.2187, allocations: 0.6844 MB / 0.9556 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.2187, allocations: 8 kB / 0.9556 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.2188, allocations: 19.42 kB / 0.9556 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.2188, allocations: 0 / 0.9556 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of Templates: time 0.002121/0.2209, allocations: 0.5613 MB / 0.9561 GB, free: 2.344 MB / 0.7325 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 -s cvode -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/jenkins1/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