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.001918/0.001918, allocations: 109.7 kB / 15.99 MB, free: 6.359 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.002172/0.002172, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.583/2.583, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.97 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001907/0.3012, allocations: 0.8255 MB / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009437/0.3021, allocations: 0.8428 MB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.3022, allocations: 3.938 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.3022, allocations: 0 / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.3023, allocations: 11.94 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.3024, allocations: 27.97 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3026, allocations: 67.84 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3027, allocations: 19.97 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/0.3028, allocations: 31.86 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.3029, allocations: 39.83 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3029, allocations: 12 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.3029, allocations: 8 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.3029, allocations: 15.92 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.303, allocations: 35.84 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.019e-05/0.3031, allocations: 47.89 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3031, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3031, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3031, allocations: 4 kB / 1.066 GB, free: 13.1 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.0005912/0.3037, allocations: 371.6 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3038, allocations: 12.61 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.3038, allocations: 8.844 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.304, allocations: 184.1 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.304, allocations: 4.375 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.304, allocations: 4.375 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.3043, allocations: 82.2 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3043, allocations: 192 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3043, allocations: 3.938 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3043, allocations: 0 / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.3046, allocations: 71.94 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.305, allocations: 328.5 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.3053, allocations: 94.59 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3054, allocations: 40.86 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.3054, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3055, allocations: 34.56 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3055, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0004661/0.306, allocations: 133.6 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.306, allocations: 51.41 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3061, allocations: 121.9 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3061, allocations: 29.64 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.3062, allocations: 100 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.3062, allocations: 19.66 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.3063, allocations: 25.7 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3064, allocations: 314.8 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3066, allocations: 35.97 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3067, allocations: 35.91 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.3069, allocations: 68.75 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3069, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002736/0.3072, allocations: 101.6 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3072, allocations: 8 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3072, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3072, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3074, allocations: 15.98 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3074, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.3075, allocations: 15.89 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3075, allocations: 4 kB / 1.068 GB, free: 10.6 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 9.471e-05/0.3076, allocations: 115.1 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.3076, allocations: 8 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.3077, allocations: 8.375 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3077, allocations: 15.91 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3077, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3077, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3079, allocations: 197.9 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3079, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.308, allocations: 23.98 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.308, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3081, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3081, allocations: 4 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3081, allocations: 7.984 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.3084, allocations: 195.4 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.3085, allocations: 85.02 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3085, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3086, allocations: 7.984 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.3087, allocations: 19.92 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3087, allocations: 4 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.3088, allocations: 99.2 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3088, allocations: 0 / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002195/0.309, allocations: 11.94 kB / 1.069 GB, free: 9.723 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.0001346/0.3091, allocations: 103.2 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.3094, allocations: 79.88 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3094, allocations: 0 / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3096, allocations: 43.91 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3099, allocations: 3.422 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.3103, allocations: 223.2 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3106, allocations: 0.6885 MB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.3107, allocations: 19.38 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3107, allocations: 0 / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of Templates: time 0.002445/0.3131, allocations: 1.055 MB / 1.071 GB, free: 7.453 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