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.0009636/0.0009636, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001182/0.001182, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.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.716/2.716, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005395/0.0005397, allocations: 12 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.8554, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0009437/0.8564, allocations: 333.3 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003087/0.8567, allocations: 59.83 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.581e-05/0.8567, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.8568, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.979e-06/0.8568, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.8571, allocations: 19.92 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.417e-05/0.8572, allocations: 8 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/0.8572, allocations: 4 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.8573, allocations: 7.984 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.8574, allocations: 7.922 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.8574, allocations: 4 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.845e-05/0.8575, allocations: 19.98 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.8575, allocations: 4 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.8576, allocations: 25.7 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.608e-05/0.8576, allocations: 7.984 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.8577, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8577, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.8577, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 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.0004623/0.8582, allocations: 327.3 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.8582, allocations: 11.97 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.8583, allocations: 4 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.8584, allocations: 171 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.8584, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.8585, allocations: 3.938 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.8587, allocations: 73.94 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8587, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.8587, allocations: 8 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.8587, allocations: 0 / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.8588, allocations: 11.92 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.859, allocations: 183.2 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.8592, allocations: 97.06 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.8592, allocations: 32.36 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.8595, allocations: 89.03 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.8595, allocations: 42.52 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.8595, allocations: 4 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002571/0.8598, allocations: 73.48 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.8599, allocations: 162.8 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.018e-05/0.86, allocations: 93.86 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.86, allocations: 25.7 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.86, allocations: 80.14 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.8601, allocations: 19.75 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.8601, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.8603, allocations: 314.8 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.8603, allocations: 8 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.8603, allocations: 36.3 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/0.8604, allocations: 15.98 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8604, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.265e-05/0.8605, allocations: 65.47 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8605, allocations: 4.156 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8605, allocations: 4 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8605, allocations: 7.953 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.8606, allocations: 11.98 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8606, allocations: 3.938 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.8607, allocations: 4 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.8607, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.557e-05/0.8608, allocations: 121.8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.8608, allocations: 4 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.861, allocations: 100.7 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.861, allocations: 3.953 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.861, allocations: 4 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.861, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.8611, allocations: 165.7 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8612, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.8612, allocations: 23.92 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.8612, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.8612, allocations: 8.125 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8613, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.8613, allocations: 7.953 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.8614, allocations: 120.5 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.8615, allocations: 85.03 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.8615, allocations: 8 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.8615, allocations: 96 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.8615, allocations: 15.88 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.8615, allocations: 4 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.779e-05/0.8616, allocations: 79.28 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.483e-06/0.8616, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001978/0.8618, allocations: 15.94 kB / 1.026 GB, free: 12.37 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000172/0.862, allocations: 99.25 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.8621, allocations: 31.92 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8621, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.8621, allocations: 32.3 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.8623, allocations: 9.562 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.8626, allocations: 154 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.8628, allocations: 0.6851 MB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.8629, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.8629, allocations: 11.44 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8629, allocations: 0 / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of Templates: time 0.002643/0.8655, allocations: 0.5312 MB / 1.027 GB, free: 10.75 MB / 0.7794 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 -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/jenkins/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