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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002693/0.002693, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00304/0.00304, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.885/2.885, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.634e-06/2.634e-06, allocations: 0 / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/3.003e-05, allocations: 5.406 kB / 0.7865 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002233/0.002263, allocations: 0.7531 MB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.003746, allocations: 0.8759 MB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.003805, allocations: 0 / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.003843, allocations: 7.922 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.003954, allocations: 8.781 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.004135, allocations: 23.97 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.004282, allocations: 80.41 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.004422, allocations: 17.31 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.004547, allocations: 39.95 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.004623, allocations: 31.83 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.004654, allocations: 8 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.024e-05/0.004674, allocations: 9.312 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.004704, allocations: 15.92 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.004751, allocations: 27.91 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.004938, allocations: 71.8 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.004941, allocations: 1.062 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004942, allocations: 0 / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.413e-06/0.004949, allocations: 1.375 kB / 0.7884 GB, free: 10.75 MB / 0.7448 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.0008082/0.005757, allocations: 400 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.005809, allocations: 12.03 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.00589, allocations: 10.11 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.006089, allocations: 132.4 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.006107, allocations: 384 / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.006124, allocations: 4.375 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.006591, allocations: 75.81 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.0066, allocations: 192 / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.006615, allocations: 4.375 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.00662, allocations: 384 / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.006817, allocations: 61.44 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.007392, allocations: 319.6 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.007637, allocations: 89.69 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.007744, allocations: 35.77 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.007767, allocations: 3.938 kB / 0.7895 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.007809, allocations: 37.39 kB / 0.7895 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.00781, allocations: 0 / 0.7895 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0004314/0.008241, allocations: 122.3 kB / 0.7896 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.008288, allocations: 51.41 kB / 0.7897 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.00845, allocations: 191.6 kB / 0.7899 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.008471, allocations: 25.7 kB / 0.7899 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.008567, allocations: 146.8 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.008597, allocations: 19.89 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.008653, allocations: 23.38 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002582/0.008911, allocations: 0.4934 MB / 0.7905 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.009002, allocations: 19.98 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.009084, allocations: 29.36 kB / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.009269, allocations: 63.98 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.009271, allocations: 0 / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002439/0.009515, allocations: 99.31 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.009529, allocations: 5.719 kB / 0.7908 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.009533, allocations: 0 / 0.7908 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.009548, allocations: 4 kB / 0.7908 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.009675, allocations: 13.05 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.00968, allocations: 112 / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.00975, allocations: 15.86 kB / 0.7908 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.009758, allocations: 1.844 kB / 0.7908 GB, free: 8.094 MB / 0.7448 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.0001321/0.00989, allocations: 164.5 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.00993, allocations: 11.89 kB / 0.791 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.00996, allocations: 12.44 kB / 0.791 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.009962, allocations: 2 kB / 0.791 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.009965, allocations: 0 / 0.791 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.009969, allocations: 3.984 kB / 0.791 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.01019, allocations: 140.6 kB / 0.7911 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01019, allocations: 0 / 0.7911 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.01029, allocations: 16.58 kB / 0.7911 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.0103, allocations: 3.938 kB / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.01031, allocations: 0.5312 kB / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01031, allocations: 0.7188 kB / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.01031, allocations: 3.984 kB / 0.7911 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.01066, allocations: 244.4 kB / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.01067, allocations: 9.359 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.01069, allocations: 7.938 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.01079, allocations: 8.109 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.01086, allocations: 11.98 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.01087, allocations: 8.531 kB / 0.7914 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001018/0.01097, allocations: 141 kB / 0.7915 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01097, allocations: 0 / 0.7915 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002265/0.0112, allocations: 8 kB / 0.7915 GB, free: 7.258 MB / 0.7448 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.0001543/0.01135, allocations: 104.1 kB / 0.7916 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.01161, allocations: 64.5 kB / 0.7917 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01161, allocations: 0 / 0.7917 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.01175, allocations: 52.95 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.01202, allocations: 8.312 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.01252, allocations: 182.4 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.256e-05/0.0126, allocations: 77.77 kB / 0.792 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.497e-05/0.01265, allocations: 8.859 kB / 0.792 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.01272, allocations: 23.95 kB / 0.792 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.01272, allocations: 3.938 kB / 0.7921 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of Templates: time 0.004812/0.01753, allocations: 1.353 MB / 0.7934 GB, free: 5.363 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.045362030970864]