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.001807/0.001807, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.00199/0.00199, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.633/2.633, allocations: 437.1 MB / 0.711 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 75.66 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2912, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002173/0.2934, allocations: 0.7586 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2946, allocations: 0.8467 MB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.2946, allocations: 0 / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.2947, allocations: 3.938 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.856e-05/0.2948, allocations: 15.86 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.2949, allocations: 27.97 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.827e-05/0.295, allocations: 63.91 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2952, allocations: 23.97 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.2952, allocations: 43.78 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.2953, allocations: 35.83 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.2954, allocations: 8 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.2954, allocations: 8 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.2954, allocations: 15.92 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.2955, allocations: 35.84 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.2956, allocations: 71.75 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2956, allocations: 0 / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2956, allocations: 0 / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2956, allocations: 4 kB / 1.02 GB, free: 8.648 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.0006394/0.2963, allocations: 373.4 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.2963, allocations: 8.031 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.2964, allocations: 8.844 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.2966, allocations: 180.2 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2966, allocations: 12.31 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2966, allocations: 4.375 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.2969, allocations: 94.08 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2969, allocations: 192 / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2969, allocations: 3.938 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.297, allocations: 4 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.2972, allocations: 63.94 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.2978, allocations: 332.6 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.2981, allocations: 82.53 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.2982, allocations: 40.88 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2983, allocations: 4 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2983, allocations: 38.55 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2983, allocations: 0 / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0005263/0.2988, allocations: 129.6 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.2989, allocations: 51.41 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.299, allocations: 121.8 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.299, allocations: 29.7 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.2991, allocations: 92.05 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.2991, allocations: 27.64 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.2992, allocations: 17.72 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2993, allocations: 322.8 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.2995, allocations: 32.08 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2996, allocations: 32.3 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.2998, allocations: 76.81 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2999, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003001/0.3002, allocations: 101.6 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3002, allocations: 4 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3002, allocations: 3.984 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3002, allocations: 4 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3004, allocations: 11.98 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3004, allocations: 4 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.3005, allocations: 15.89 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3005, allocations: 4 kB / 1.022 GB, free: 6.141 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.636e-05/0.3006, allocations: 113.8 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3006, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3007, allocations: 16.38 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3007, allocations: 0 / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3007, allocations: 0 / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3007, allocations: 3.984 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3009, allocations: 197.5 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3009, allocations: 4 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.3011, allocations: 15.98 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3011, allocations: 0 / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3011, allocations: 4 kB / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3011, allocations: 0 / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3011, allocations: 0 / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.3015, allocations: 203.3 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.3015, allocations: 93.02 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3016, allocations: 4.125 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3017, allocations: 11.97 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.3018, allocations: 11.98 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.3018, allocations: 7.938 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.609e-05/0.3019, allocations: 99.2 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3019, allocations: 0 / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002307/0.3021, allocations: 15.94 kB / 1.023 GB, free: 5.262 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.0001421/0.3022, allocations: 103.2 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.3026, allocations: 75.88 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3026, allocations: 0 / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.3027, allocations: 43.91 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.303, allocations: 8 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.3035, allocations: 201.6 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3039, allocations: 0.6885 MB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.3039, allocations: 11.44 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of SimCode: time 3.7e-07/0.3039, allocations: 4 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of Templates: time 0.002663/0.3066, allocations: 1.052 MB / 1.025 GB, free: 3.027 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