Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.002397/0.002397, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.00282/0.00282, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.695/1.695, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.88/2.88, 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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.965e-05, allocations: 9.203 kB / 0.7865 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001961/0.001991, allocations: 0.7034 MB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003296, allocations: 0.8334 MB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.00334, allocations: 0 / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.003366, allocations: 11.88 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.003e-05/0.003456, allocations: 5.156 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.396e-05/0.00352, allocations: 11.98 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.877e-05/0.003608, allocations: 43.86 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.003699, allocations: 9.734 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.003786, allocations: 23.92 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.003833, allocations: 19.97 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.003853, allocations: 4 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.003863, allocations: 4 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.003881, allocations: 8.828 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.003909, allocations: 15.92 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.004017, allocations: 36.59 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004019, allocations: 0 / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00402, allocations: 1.375 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.004023, allocations: 0 / 0.7881 GB, free: 11.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005477/0.004571, allocations: 384.1 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.00461, allocations: 13.09 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.00465, allocations: 4.891 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004782, allocations: 116.5 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004794, allocations: 1.75 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.004806, allocations: 8.375 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.005004, allocations: 54.23 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.005013, allocations: 1.781 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.005024, allocations: 4.359 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.005029, allocations: 384 / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.005214, allocations: 50.56 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.005646, allocations: 275.7 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.005805, allocations: 47.05 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.005914, allocations: 27.77 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.00593, allocations: 0 / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.005969, allocations: 38.11 kB / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.00597, allocations: 0 / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004045/0.006375, allocations: 103.2 kB / 0.7892 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.006421, allocations: 55.41 kB / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.006558, allocations: 171 kB / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.006578, allocations: 25.7 kB / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.006743, allocations: 138.8 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.006765, allocations: 13.47 kB / 0.7896 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.006823, allocations: 23.38 kB / 0.7896 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002607/0.007084, allocations: 496.1 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.007179, allocations: 21.98 kB / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.007263, allocations: 19.98 kB / 0.7901 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.007431, allocations: 47.66 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007433, allocations: 0 / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002255/0.007658, allocations: 82.72 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.007673, allocations: 8.656 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.007677, allocations: 0 / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.00769, allocations: 0.5312 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.007795, allocations: 13.45 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.007801, allocations: 320 / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.007851, allocations: 7.953 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.00786, allocations: 7.938 kB / 0.7903 GB, free: 8.605 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 (3): * Single equations (assignments): 3 * 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.0001114/0.007971, allocations: 157.1 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.007997, allocations: 5.375 kB / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.008028, allocations: 11.92 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008029, allocations: 0 / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.008032, allocations: 0 / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.008034, allocations: 1.156 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.008202, allocations: 132.6 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008203, allocations: 0 / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.00827, allocations: 9.375 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.008276, allocations: 7.922 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.008284, allocations: 0 / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.008287, allocations: 5.688 kB / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008288, allocations: 0 / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.008605, allocations: 224.2 kB / 0.7908 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.00862, allocations: 11.98 kB / 0.7908 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.008632, allocations: 0.9062 kB / 0.7908 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.008721, allocations: 7.938 kB / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.008767, allocations: 4.828 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.008774, allocations: 4 kB / 0.7909 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.193e-05/0.008856, allocations: 132.5 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008856, allocations: 0 / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002096/0.009065, allocations: 8 kB / 0.791 GB, free: 7.84 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 (3): * Single equations (assignments): 3 * 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.0001206/0.009186, allocations: 99.83 kB / 0.7911 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.00943, allocations: 58.03 kB / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009431, allocations: 0 / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.009539, allocations: 35.67 kB / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.009795, allocations: 8.859 kB / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.01013, allocations: 141.7 kB / 0.7913 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.938e-05/0.0102, allocations: 67.28 kB / 0.7914 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.01023, allocations: 0 / 0.7914 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.01026, allocations: 8.5 kB / 0.7914 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01026, allocations: 4 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of Templates: time 0.00353/0.01379, allocations: 0.7477 MB / 0.7921 GB, free: 6.648 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.14509836898651]