Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001592/0.001592, allocations: 104.4 kB / 16.41 MB, free: 6.398 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.00181/0.00181, allocations: 195.7 kB / 17.35 MB, free: 5.695 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001622, allocations: 59.91 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8315, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001764/0.8333, allocations: 0.5931 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002862/0.8336, allocations: 59.78 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.8337, allocations: 4 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.8337, allocations: 3.938 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-06/0.8337, allocations: 3.938 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.834, allocations: 23.91 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.834, allocations: 11.98 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.8341, allocations: 0 / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.8341, allocations: 11.98 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.8342, allocations: 7.984 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.8342, allocations: 3.938 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.768e-05/0.8343, allocations: 15.98 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.8343, allocations: 4 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.8343, allocations: 4 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.508e-05/0.8344, allocations: 23.89 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8344, allocations: 4 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8344, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8344, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 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.0003652/0.8348, allocations: 323.6 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.8348, allocations: 8.031 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.8349, allocations: 4.938 kB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.117e-05/0.835, allocations: 168.3 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.835, allocations: 384 / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.835, allocations: 384 / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.8351, allocations: 70.53 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.8352, allocations: 4.125 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.8352, allocations: 15.92 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8352, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.8352, allocations: 15.94 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.8354, allocations: 177.2 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.725e-05/0.8355, allocations: 101 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.8356, allocations: 32.36 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.8357, allocations: 85.11 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.8358, allocations: 42.55 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.8358, allocations: 0 / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002042/0.836, allocations: 81.34 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.8361, allocations: 154.2 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.586e-05/0.8361, allocations: 90.48 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.8361, allocations: 25.7 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.8362, allocations: 84.14 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.8362, allocations: 31.52 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.8363, allocations: 17.72 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8364, allocations: 314.8 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.8364, allocations: 8 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.8365, allocations: 36.3 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.8365, allocations: 56.16 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8365, allocations: 0 / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.8367, allocations: 65.62 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8367, allocations: 4 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8367, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.8367, allocations: 7.938 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.8368, allocations: 11.98 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.8368, allocations: 3.938 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.8368, allocations: 8 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.8369, allocations: 0 / 1.211 GB, free: 10.41 MB / 0.9356 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.255e-05/0.8369, allocations: 109.8 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.837, allocations: 8.094 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.8372, allocations: 106.3 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8372, allocations: 0 / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8372, allocations: 4 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8372, allocations: 4.156 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.8374, allocations: 165.7 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8374, allocations: 4.125 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.8374, allocations: 19.94 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8374, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.8375, allocations: 7.938 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8375, allocations: 0 / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8375, allocations: 4 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.8376, allocations: 124.5 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.453e-05/0.8377, allocations: 84.95 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.8377, allocations: 7.938 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.8377, allocations: 0 / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.8377, allocations: 11.98 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.8378, allocations: 8 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.8378, allocations: 79.22 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.442e-06/0.8378, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002125/0.838, allocations: 15.94 kB / 1.212 GB, free: 9.543 MB / 0.9356 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.0001608/0.8382, allocations: 107.2 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.8383, allocations: 31.92 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8383, allocations: 416 / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.8384, allocations: 31.88 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.8385, allocations: 7.984 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.8388, allocations: 173.9 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.8391, allocations: 0.681 MB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.8391, allocations: 15.44 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.8391, allocations: 0 / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of Templates: time 0.002099/0.8412, allocations: 0.6876 MB / 1.214 GB, free: 7.734 MB / 0.9356 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches