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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 100.8 kB / 16.27 MB, free: 5.996 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.001634/0.001634, allocations: 189.4 kB / 17.2 MB, free: 5.605 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.493/1.493, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 469.8 MB / 0.743 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 68.64 kB / 0.9092 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3556, allocations: 159.1 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002115/0.3577, allocations: 0.7547 MB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3588, allocations: 0.8389 MB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.3589, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.3589, allocations: 7.922 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.359, allocations: 15.86 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.3592, allocations: 31.97 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.3593, allocations: 71.83 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3594, allocations: 19.94 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.3595, allocations: 39.83 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.3596, allocations: 35.84 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.3596, allocations: 12 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.3596, allocations: 8 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.3596, allocations: 15.92 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.3597, allocations: 23.86 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.3598, allocations: 79.73 kB / 1.067 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3598, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3598, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3598, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8419 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.0005927/0.3604, allocations: 375.6 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3605, allocations: 12.62 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.3605, allocations: 8.844 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.3607, allocations: 180.1 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3607, allocations: 4.375 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.3607, allocations: 12.31 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.361, allocations: 78.2 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.361, allocations: 4.172 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.361, allocations: 3.938 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.361, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.3613, allocations: 71.94 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.3618, allocations: 332.5 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3621, allocations: 94.53 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3622, allocations: 36.92 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3623, allocations: 4 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3623, allocations: 30.56 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3623, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0004991/0.3628, allocations: 137.5 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3629, allocations: 51.41 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.363, allocations: 117.8 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.363, allocations: 29.7 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.3631, allocations: 96.03 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.3631, allocations: 23.77 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.3632, allocations: 25.64 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3633, allocations: 314.8 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3635, allocations: 35.97 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3636, allocations: 31.97 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.3638, allocations: 68.81 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3638, allocations: 3.938 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002945/0.3641, allocations: 97.64 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3642, allocations: 8 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3642, allocations: 7.922 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3642, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3643, allocations: 19.98 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3643, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.3644, allocations: 11.89 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.3644, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8419 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.0001045/0.3646, allocations: 117.8 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.3646, allocations: 4.438 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.3646, allocations: 16.36 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3646, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3646, allocations: 3.938 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3647, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3649, allocations: 201.5 kB / 1.069 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3649, allocations: 0 / 1.069 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.365, allocations: 19.98 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.365, allocations: 0 / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.365, allocations: 7.984 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3651, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3651, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.3654, allocations: 195.4 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.3655, allocations: 85.02 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3655, allocations: 0 / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3656, allocations: 7.984 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.3657, allocations: 19.98 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3657, allocations: 7.938 kB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.611e-05/0.3658, allocations: 95.2 kB / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3658, allocations: 0 / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002291/0.366, allocations: 15.94 kB / 1.07 GB, free: 9.395 MB / 0.8419 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.0001368/0.3662, allocations: 99.25 kB / 1.07 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.3665, allocations: 75.88 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3665, allocations: 4 kB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3666, allocations: 43.91 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.367, allocations: 11.98 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.3674, allocations: 195.2 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3678, allocations: 0.6885 MB / 1.071 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.3678, allocations: 15.44 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3678, allocations: 0 / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of Templates: time 0.002605/0.3704, allocations: 1.048 MB / 1.072 GB, free: 7.16 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches