Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.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.002166/0.002166, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003174/0.003174, allocations: 210.9 kB / 22.24 MB, free: 5.262 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.61/1.61, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.992/2.992, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.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.00217/0.00217, allocations: 65.09 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4017, allocations: 170 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002646/0.4044, allocations: 0.7361 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.4058, allocations: 0.8666 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.4058, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.7e-05/0.4059, allocations: 7.875 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.281e-05/0.406, allocations: 3.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.4062, allocations: 31.91 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.4063, allocations: 67.89 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.4064, allocations: 19.98 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.4065, allocations: 35.84 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.4066, allocations: 35.83 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.4066, allocations: 12 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.114e-05/0.4067, allocations: 8 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.4067, allocations: 15.92 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.4067, allocations: 19.92 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.4069, allocations: 83.56 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4069, allocations: 0 / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4069, allocations: 0 / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4069, allocations: 0 / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000689/0.4076, allocations: 298.1 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4076, allocations: 16.03 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.4077, allocations: 8.891 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.4079, allocations: 126.4 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.408, allocations: 8.375 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.408, allocations: 4.375 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.4082, allocations: 86.14 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4082, allocations: 192 / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4082, allocations: 3.938 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4083, allocations: 3.984 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.4085, allocations: 71.89 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.409, allocations: 252.4 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.4093, allocations: 86.5 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.4094, allocations: 36.89 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.4094, allocations: 0 / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4095, allocations: 30.56 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.4095, allocations: 0 / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0005024/0.41, allocations: 145.5 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.41, allocations: 55.39 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4101, allocations: 117.8 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4102, allocations: 25.7 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.4102, allocations: 100 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.4103, allocations: 15.86 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.4103, allocations: 25.7 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4105, allocations: 318.8 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.4106, allocations: 31.97 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.4107, allocations: 31.97 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.411, allocations: 68.75 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.411, allocations: 4 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003081/0.4113, allocations: 105.6 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4113, allocations: 4 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.4113, allocations: 4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4113, allocations: 448 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4115, allocations: 15.98 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4115, allocations: 0 / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.4116, allocations: 16.05 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.4116, allocations: 7.938 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 0.0001177/0.4117, allocations: 121.7 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.4117, allocations: 3.953 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.4118, allocations: 16.36 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4118, allocations: 4 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4118, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4118, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.412, allocations: 137.2 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.412, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.4121, allocations: 19.92 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4121, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4122, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4122, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4122, allocations: 3.984 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.4125, allocations: 207.4 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.4126, allocations: 7.984 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.4126, allocations: 0 / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.4127, allocations: 8 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.4128, allocations: 15.97 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.4128, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.933e-05/0.4128, allocations: 95.27 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4128, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002383/0.4131, allocations: 19.95 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.000152/0.4132, allocations: 99.19 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.4135, allocations: 71.94 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4135, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.4137, allocations: 39.97 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.414, allocations: 7.938 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.4146, allocations: 173.4 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.216e-05/0.4146, allocations: 75.33 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.625e-05/0.4147, allocations: 4 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.4147, allocations: 15.42 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.4147, allocations: 4 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of Templates: time 0.004623/0.4194, allocations: 1.381 MB / 1.289 GB, free: 5.133 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.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: 9.895964341238141]