Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.066/2.066, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.00102, allocations: 183.3 kB / 393.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000794/0.0007942, allocations: 96.16 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003504, allocations: 15.98 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5244, allocations: 121.3 MB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0006457/0.5251, allocations: 336.5 kB / 1.041 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000247/0.5253, allocations: 137.3 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-06/0.5253, allocations: 0 / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.5254, allocations: 4.594 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.5254, allocations: 0 / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.5256, allocations: 29.3 kB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.37e-05/0.5256, allocations: 6.5 kB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.5256, allocations: 1.375 kB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.412e-05/0.5257, allocations: 7.219 kB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.5257, allocations: 10.78 kB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.216e-06/0.5257, allocations: 1.344 kB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.5258, allocations: 16.33 kB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.5258, allocations: 0.5938 kB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.5259, allocations: 34.7 kB / 1.041 GB, free: 58.08 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.611e-05/0.5259, allocations: 19.81 kB / 1.041 GB, free: 58.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5259, allocations: 0 / 1.041 GB, free: 58.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5259, allocations: 10.06 kB / 1.041 GB, free: 58.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.526, allocations: 0 / 1.041 GB, free: 58.06 MB / 0.698 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.0002349/0.5262, allocations: 318.8 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.5262, allocations: 11.45 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.5263, allocations: 10.75 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.573e-05/0.5263, allocations: 164.3 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.5263, allocations: 7.031 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.5263, allocations: 1.359 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.761e-05/0.5264, allocations: 70.64 kB / 1.042 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.5265, allocations: 4.844 kB / 1.042 GB, free: 57.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.5265, allocations: 5.969 kB / 1.042 GB, free: 57.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.5265, allocations: 0.75 kB / 1.042 GB, free: 57.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/0.5265, allocations: 12.64 kB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.5266, allocations: 183.1 kB / 1.042 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.303e-05/0.5267, allocations: 93.88 kB / 1.042 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.5267, allocations: 42.58 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.5269, allocations: 82.66 kB / 1.042 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.5269, allocations: 39.66 kB / 1.042 GB, free: 56.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.5269, allocations: 0.875 kB / 1.042 GB, free: 56.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.000166/0.5271, allocations: 75.11 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.5271, allocations: 162.4 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.772e-05/0.5272, allocations: 93.86 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.5272, allocations: 25.7 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.979e-06/0.5272, allocations: 80.67 kB / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.5272, allocations: 15.12 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.5272, allocations: 0 / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.5273, allocations: 319.3 kB / 1.043 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.5273, allocations: 3.375 kB / 1.043 GB, free: 56.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.5274, allocations: 43 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.5274, allocations: 47.61 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5275, allocations: 4 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.21e-05/0.5276, allocations: 62.08 kB / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5276, allocations: 9.406 kB / 1.043 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5276, allocations: 1.375 kB / 1.043 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5276, allocations: 6.344 kB / 1.043 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.5277, allocations: 13.27 kB / 1.043 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.5277, allocations: 6.016 kB / 1.043 GB, free: 55.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.5277, allocations: 10.66 kB / 1.043 GB, free: 55.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5277, allocations: 8.266 kB / 1.043 GB, free: 55.93 MB / 0.698 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.676e-05/0.5278, allocations: 108.6 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.5278, allocations: 2.922 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.528, allocations: 109.8 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.528, allocations: 5.312 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.528, allocations: 1.375 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.528, allocations: 1.375 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.803e-05/0.5281, allocations: 164.4 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5281, allocations: 1.375 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.5282, allocations: 22.33 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5282, allocations: 1.375 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.5282, allocations: 6.688 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5282, allocations: 1.375 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5282, allocations: 6.203 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.5283, allocations: 120.3 kB / 1.044 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.5284, allocations: 87.8 kB / 1.044 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.5284, allocations: 6.016 kB / 1.044 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.886e-05/0.5284, allocations: 5.375 kB / 1.044 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.5285, allocations: 8.734 kB / 1.044 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.5285, allocations: 6.75 kB / 1.044 GB, free: 55.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.268e-05/0.5285, allocations: 79.22 kB / 1.044 GB, free: 55.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.5285, allocations: 0 / 1.044 GB, free: 55.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001996/0.5287, allocations: 6.875 kB / 1.044 GB, free: 55.23 MB / 0.698 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.0001348/0.5289, allocations: 114.9 kB / 1.044 GB, free: 55.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.088e-05/0.529, allocations: 33.83 kB / 1.044 GB, free: 55.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.529, allocations: 0 / 1.044 GB, free: 55.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.529, allocations: 23.7 kB / 1.044 GB, free: 55.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.5292, allocations: 12.12 kB / 1.044 GB, free: 55.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.5294, allocations: 164.4 kB / 1.044 GB, free: 54.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.675e-05/0.5295, allocations: 0.6781 MB / 1.045 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.315e-05/0.5295, allocations: 13.62 kB / 1.045 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.5295, allocations: 12.47 kB / 1.045 GB, free: 54.24 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.5295, allocations: 0 / 1.045 GB, free: 54.24 MB / 0.698 GB Notification: Performance of Templates: time 0.002173/0.5317, allocations: 0.5445 MB / 1.046 GB, free: 54.16 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)