Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001046/0.001046, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001009/0.001009, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.436/2.436, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 60.97 kB / 0.8707 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3008, allocations: 151.6 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001999/0.3028, allocations: 0.7645 MB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008806/0.3037, allocations: 0.8428 MB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.3038, allocations: 4 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.3038, allocations: 3.938 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.304, allocations: 11.86 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.3041, allocations: 31.95 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.3042, allocations: 63.89 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3044, allocations: 16 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.3045, allocations: 43.78 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.3045, allocations: 39.83 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.3046, allocations: 8 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.3046, allocations: 4 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.3046, allocations: 19.97 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.3047, allocations: 31.8 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3048, allocations: 71.75 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3048, allocations: 4 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3048, allocations: 0 / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3048, allocations: 0 / 1.021 GB, free: 7.828 MB / 0.795 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.0005609/0.3054, allocations: 379.2 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3054, allocations: 8.031 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.3055, allocations: 12.78 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3056, allocations: 176.2 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3056, allocations: 12.38 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.3057, allocations: 4.375 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3059, allocations: 86.19 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.3059, allocations: 4.188 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3059, allocations: 3.938 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3059, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.3062, allocations: 71.88 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.3066, allocations: 320.6 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.3068, allocations: 90.53 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.307, allocations: 36.92 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.307, allocations: 3.938 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.307, allocations: 42.5 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.307, allocations: 0 / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.000444/0.3075, allocations: 133.6 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.3075, allocations: 51.41 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.3076, allocations: 121.9 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3077, allocations: 25.7 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.3077, allocations: 100 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.3077, allocations: 15.66 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3078, allocations: 25.7 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3079, allocations: 322.8 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.308, allocations: 31.97 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.3081, allocations: 35.91 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.3083, allocations: 64.81 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3084, allocations: 0 / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000256/0.3086, allocations: 105.6 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3086, allocations: 4 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3086, allocations: 448 / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3087, allocations: 0 / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3088, allocations: 15.98 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3088, allocations: 3.938 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.3089, allocations: 15.89 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3089, allocations: 4 kB / 1.023 GB, free: 5.32 MB / 0.795 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 7.292e-05/0.309, allocations: 113.8 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.309, allocations: 11.98 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.3091, allocations: 8.375 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3091, allocations: 4 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3091, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3091, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.3093, allocations: 197.5 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3093, allocations: 0 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.3094, allocations: 19.97 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3094, allocations: 0 / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3094, allocations: 3.984 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3094, allocations: 4 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3094, allocations: 4 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.3097, allocations: 203.3 kB / 1.023 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.3098, allocations: 89.02 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3098, allocations: 0 / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3099, allocations: 7.984 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.31, allocations: 19.92 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.31, allocations: 0 / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.3101, allocations: 99.7 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3101, allocations: 3.938 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000223/0.3103, allocations: 11.94 kB / 1.024 GB, free: 4.441 MB / 0.795 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.000146/0.3105, allocations: 103.2 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.3107, allocations: 79.83 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3108, allocations: 0 / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3109, allocations: 43.95 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.3112, allocations: 8.328 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.3116, allocations: 169.5 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3119, allocations: 0.6924 MB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.947e-05/0.3119, allocations: 4 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.312, allocations: 15.42 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.312, allocations: 0 / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of Templates: time 0.003331/0.3153, allocations: 1.235 MB / 1.026 GB, free: 2.047 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches