Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 101.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.5 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.233/3.233, allocations: 0.4899 GB / 0.7915 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 74.45 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3756, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001809/0.3774, allocations: 0.5981 MB / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003045/0.3777, allocations: 71.69 kB / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.3778, allocations: 0 / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.3778, allocations: 0 / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-06/0.3778, allocations: 0 / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.3781, allocations: 23.92 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.948e-05/0.3781, allocations: 8 kB / 1.322 GB, free: 2.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.3782, allocations: 7.984 kB / 1.322 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.053e-05/0.3782, allocations: 7.984 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.3782, allocations: 15.94 kB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3783, allocations: 0 / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.3783, allocations: 11.98 kB / 1.322 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3784, allocations: 4 kB / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.3784, allocations: 11.91 kB / 1.322 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.049e-05/0.3785, allocations: 19.92 kB / 1.322 GB, free: 2.012 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3785, allocations: 0 / 1.322 GB, free: 2.012 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3785, allocations: 0 / 1.322 GB, free: 2.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3785, allocations: 3.938 kB / 1.322 GB, free: 2.008 MB / 1.014 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.0004169/0.3789, allocations: 327.9 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3789, allocations: 11.98 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.379, allocations: 4.891 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3791, allocations: 168.4 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3791, allocations: 4.375 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.3791, allocations: 384 / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.3793, allocations: 74.42 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3793, allocations: 4.188 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3793, allocations: 3.938 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3793, allocations: 4 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.3793, allocations: 15.92 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.3796, allocations: 181.3 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.3797, allocations: 101.1 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.3797, allocations: 32.3 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.3799, allocations: 89.08 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3799, allocations: 38.56 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3799, allocations: 3.938 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0002027/0.3801, allocations: 74.11 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/0.3802, allocations: 162.2 kB / 1.323 GB, free: 444 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.574e-05/0.3803, allocations: 93.86 kB / 1.323 GB, free: 340 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.3803, allocations: 25.7 kB / 1.323 GB, free: 308 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.3804, allocations: 80.14 kB / 1.323 GB, free: 224 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.3804, allocations: 11.84 kB / 1.323 GB, free: 212 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3804, allocations: 25.64 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3806, allocations: 318.8 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.3806, allocations: 0 / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.3806, allocations: 44.22 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.796e-05/0.3807, allocations: 48.23 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3807, allocations: 4 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001058/0.3808, allocations: 65.56 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3808, allocations: 4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3808, allocations: 4 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3809, allocations: 3.938 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.3809, allocations: 11.94 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3809, allocations: 4 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.381, allocations: 160 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.381, allocations: 11.98 kB / 1.324 GB, free: 15.62 MB / 1.029 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.729e-05/0.3811, allocations: 109.8 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.3811, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.3813, allocations: 104.7 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3813, allocations: 4 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3813, allocations: 128 / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3813, allocations: 3.938 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.3815, allocations: 173.6 kB / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3815, allocations: 0 / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.3815, allocations: 15.98 kB / 1.324 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3815, allocations: 4 kB / 1.324 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3815, allocations: 7.938 kB / 1.324 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.3816, allocations: 7.984 kB / 1.324 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3816, allocations: 96 / 1.324 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3817, allocations: 124.5 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.3818, allocations: 85.05 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3818, allocations: 7.938 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.224e-05/0.3818, allocations: 8 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.3818, allocations: 11.92 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.3818, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.3819, allocations: 75.28 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3819, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002088/0.3821, allocations: 8 kB / 1.325 GB, free: 14.76 MB / 1.029 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.0001691/0.3823, allocations: 103.3 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3824, allocations: 43.86 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3824, allocations: 3.938 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.3824, allocations: 23.92 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.3826, allocations: 8 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.3829, allocations: 148.9 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3832, allocations: 0.6845 MB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.518e-05/0.3832, allocations: 7.984 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.3833, allocations: 15.44 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3833, allocations: 4 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of Templates: time 0.002928/0.3862, allocations: 0.5669 MB / 1.326 GB, free: 13.08 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.841028019785881]