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.001508/0.001508, allocations: 101.6 kB / 16.27 MB, free: 5.852 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.001652/0.001652, allocations: 188.7 kB / 17.19 MB, free: 5.5 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.277/2.277, allocations: 390.2 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 65.27 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2673, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002018/0.2693, allocations: 0.5942 MB / 0.9508 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002758/0.2696, allocations: 67.7 kB / 0.9509 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.2697, allocations: 7.938 kB / 0.9509 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.2697, allocations: 7.938 kB / 0.9509 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.2697, allocations: 0 / 0.9509 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.27, allocations: 15.98 kB / 0.9509 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.857e-05/0.2701, allocations: 7.984 kB / 0.951 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.2702, allocations: 7.938 kB / 0.951 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.2702, allocations: 11.98 kB / 0.951 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.2702, allocations: 7.922 kB / 0.951 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2702, allocations: 4 kB / 0.951 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.2703, allocations: 15.98 kB / 0.951 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.2703, allocations: 4 kB / 0.951 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.2704, allocations: 4 kB / 0.951 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.887e-05/0.2705, allocations: 27.89 kB / 0.951 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2705, allocations: 0 / 0.951 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2705, allocations: 0 / 0.951 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2705, allocations: 0 / 0.951 GB, free: 8.109 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.0003809/0.2709, allocations: 327.5 kB / 0.9513 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2709, allocations: 8.031 kB / 0.9514 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.271, allocations: 8.938 kB / 0.9514 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.2711, allocations: 160.4 kB / 0.9515 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2711, allocations: 4.375 kB / 0.9515 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2711, allocations: 4.375 kB / 0.9515 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2712, allocations: 78.47 kB / 0.9516 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2713, allocations: 192 / 0.9516 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2713, allocations: 3.938 kB / 0.9516 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2713, allocations: 0 / 0.9516 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.2713, allocations: 11.94 kB / 0.9516 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.2715, allocations: 181.5 kB / 0.9518 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2716, allocations: 101 kB / 0.9519 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.2717, allocations: 38.53 kB / 0.9519 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.2719, allocations: 77.11 kB / 0.952 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2719, allocations: 46.48 kB / 0.952 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.2719, allocations: 0 / 0.952 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002097/0.2721, allocations: 73.5 kB / 0.9521 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.2722, allocations: 154.2 kB / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.734e-05/0.2723, allocations: 93.8 kB / 0.9523 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2723, allocations: 34.27 kB / 0.9524 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.2723, allocations: 92.11 kB / 0.9525 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.2724, allocations: 15.75 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.2724, allocations: 21.66 kB / 0.9525 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2725, allocations: 318.8 kB / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.2726, allocations: 0 / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.2726, allocations: 36.3 kB / 0.9528 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.2727, allocations: 52.22 kB / 0.9529 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2727, allocations: 0 / 0.9529 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001086/0.2728, allocations: 69.45 kB / 0.953 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2728, allocations: 8.156 kB / 0.953 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2728, allocations: 4 kB / 0.953 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2729, allocations: 3.938 kB / 0.953 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.2729, allocations: 11.98 kB / 0.953 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.2729, allocations: 4 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.273, allocations: 4 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.273, allocations: 4 kB / 0.953 GB, free: 5.73 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 8.525e-05/0.2731, allocations: 111.8 kB / 0.9531 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.2731, allocations: 4 kB / 0.9531 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.2733, allocations: 112.7 kB / 0.9532 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2733, allocations: 4 kB / 0.9532 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2733, allocations: 0 / 0.9532 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2733, allocations: 160 / 0.9532 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.2735, allocations: 177.6 kB / 0.9534 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2735, allocations: 0 / 0.9534 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.2736, allocations: 12 kB / 0.9534 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2736, allocations: 4 kB / 0.9534 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2736, allocations: 3.938 kB / 0.9534 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2736, allocations: 7.938 kB / 0.9534 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2736, allocations: 0 / 0.9534 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.2738, allocations: 124.5 kB / 0.9535 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.2738, allocations: 81.11 kB / 0.9536 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2738, allocations: 3.938 kB / 0.9536 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.143e-05/0.2739, allocations: 4 kB / 0.9536 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.2739, allocations: 11.98 kB / 0.9536 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.2739, allocations: 8 kB / 0.9536 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.274, allocations: 79.22 kB / 0.9537 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.274, allocations: 0 / 0.9537 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002127/0.2742, allocations: 4 kB / 0.9537 GB, free: 4.879 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.0001754/0.2744, allocations: 111.3 kB / 0.9538 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.2745, allocations: 35.86 kB / 0.9539 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2745, allocations: 4.312 kB / 0.9539 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.2745, allocations: 27.94 kB / 0.9539 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.2747, allocations: 3.984 kB / 0.9539 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.275, allocations: 174.3 kB / 0.9541 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2753, allocations: 0.6922 MB / 0.9547 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.2753, allocations: 11.44 kB / 0.9547 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.2753, allocations: 0 / 0.9547 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of Templates: time 0.002121/0.2775, allocations: 0.6798 MB / 0.9554 GB, free: 3.066 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 -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