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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001732/0.001732, allocations: 103.7 kB / 15.98 MB, free: 6.355 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.001945/0.001945, allocations: 195.3 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.478/1.478, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437.1 MB / 0.7107 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 80.19 kB / 0.8694 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2937, allocations: 151.6 MB / 1.018 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002069/0.2958, allocations: 0.8234 MB / 1.018 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.2968, allocations: 0.8443 MB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.2969, allocations: 0 / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.2969, allocations: 4 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.297, allocations: 7.938 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.2972, allocations: 27.97 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.2973, allocations: 67.84 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2974, allocations: 23.95 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.2975, allocations: 35.86 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.2975, allocations: 35.83 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.2976, allocations: 12 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.2976, allocations: 8 kB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.2976, allocations: 15.97 kB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.2977, allocations: 35.8 kB / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.64e-05/0.2978, allocations: 43.89 kB / 1.019 GB, free: 8.98 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2978, allocations: 4 kB / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2978, allocations: 0 / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2978, allocations: 0 / 1.019 GB, free: 8.977 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.0006048/0.2984, allocations: 383.5 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2984, allocations: 12.03 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.2985, allocations: 8.844 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2987, allocations: 184.1 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2987, allocations: 4.375 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.2987, allocations: 8.375 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.299, allocations: 82.14 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.299, allocations: 192 / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.299, allocations: 3.938 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-06/0.299, allocations: 0 / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.2992, allocations: 71.94 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.2997, allocations: 328.6 kB / 1.02 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.3, allocations: 90.53 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3001, allocations: 36.92 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3002, allocations: 0 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.3002, allocations: 42.5 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.3002, allocations: 0 / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0004681/0.3007, allocations: 129.6 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3007, allocations: 55.39 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3008, allocations: 121.8 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3009, allocations: 25.7 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.3009, allocations: 99.97 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.301, allocations: 23.66 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.301, allocations: 21.81 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3012, allocations: 318.7 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3013, allocations: 35.97 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3014, allocations: 31.97 kB / 1.021 GB, free: 6.684 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.3016, allocations: 68.75 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3016, allocations: 0 / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002773/0.3019, allocations: 105.6 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3019, allocations: 8 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.302, allocations: 3.984 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.302, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3021, allocations: 15.98 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3021, allocations: 0 / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-05/0.3022, allocations: 11.89 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3023, allocations: 4 kB / 1.022 GB, free: 6.461 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 9.128e-05/0.3024, allocations: 118.4 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.3024, allocations: 8 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.3024, allocations: 12.36 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3024, allocations: 4 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3024, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3025, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.3027, allocations: 197.5 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3027, allocations: 448 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3028, allocations: 15.98 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3028, allocations: 0 / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3029, allocations: 7.984 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3029, allocations: 8 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3029, allocations: 3.984 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3032, allocations: 203.3 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.3033, allocations: 85.02 kB / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3033, allocations: 0 / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.3034, allocations: 7.984 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.3035, allocations: 19.98 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.3035, allocations: 0 / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.3036, allocations: 95.27 kB / 1.022 GB, free: 5.598 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3036, allocations: 3.938 kB / 1.022 GB, free: 5.594 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002285/0.3038, allocations: 11.94 kB / 1.022 GB, free: 5.582 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.0001576/0.304, allocations: 103.8 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.3043, allocations: 83.81 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3043, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3045, allocations: 39.97 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3048, allocations: 11.94 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.3053, allocations: 211.2 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3056, allocations: 0.6911 MB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.3057, allocations: 15.44 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3057, allocations: 0 / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of Templates: time 0.002823/0.3085, allocations: 1.045 MB / 1.025 GB, free: 3.328 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=400 -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