Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001844/0.001844, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.002007/0.002007, allocations: 153.4 kB / 23.55 MB, free: 0.8555 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.542/1.542, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.962/2.962, allocations: 359 MB / 0.6048 GB, free: 10.98 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.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.912e-05, allocations: 4.797 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003404/0.003433, allocations: 1.794 MB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.004838, allocations: 0.7022 MB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.004906, allocations: 0.625 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.091e-05/0.004947, allocations: 9.281 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.703e-05/0.005034, allocations: 27.72 kB / 0.7889 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.005624, allocations: 182.6 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.005854, allocations: 123.6 kB / 0.7892 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.005991, allocations: 42.2 kB / 0.7892 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.0062, allocations: 83.8 kB / 0.7893 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.00629, allocations: 41.48 kB / 0.7893 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.006326, allocations: 12 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.006453, allocations: 47.95 kB / 0.7894 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.006498, allocations: 27.91 kB / 0.7894 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.006558, allocations: 45.42 kB / 0.7894 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.006865, allocations: 179.4 kB / 0.7896 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.006868, allocations: 0 / 0.7896 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006869, allocations: 0 / 0.7896 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.006873, allocations: 1.125 kB / 0.7896 GB, free: 9.535 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000709/0.007582, allocations: 463.7 kB / 0.7901 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.007617, allocations: 11.16 kB / 0.7901 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.008523, allocations: 104.7 kB / 0.7902 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.008808, allocations: 157 kB / 0.7903 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.008943, allocations: 116.1 kB / 0.7904 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.008974, allocations: 12.38 kB / 0.7904 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.009451, allocations: 207 kB / 0.7906 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.009462, allocations: 4 kB / 0.7906 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.009487, allocations: 8.516 kB / 0.7906 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.009491, allocations: 0 / 0.7906 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.009966, allocations: 134.4 kB / 0.7908 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.01104, allocations: 450 kB / 0.7912 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/0.01185, allocations: 181.9 kB / 0.7914 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.01209, allocations: 76.27 kB / 0.7914 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.01211, allocations: 3.438 kB / 0.7915 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.01215, allocations: 41.33 kB / 0.7915 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.01215, allocations: 3.938 kB / 0.7915 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0008369/0.01299, allocations: 221.5 kB / 0.7917 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.01304, allocations: 59.88 kB / 0.7918 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.01323, allocations: 211.6 kB / 0.792 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.01326, allocations: 30.2 kB / 0.792 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01338, allocations: 163.5 kB / 0.7922 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.01341, allocations: 24.34 kB / 0.7922 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/0.01349, allocations: 31.36 kB / 0.7922 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.01376, allocations: 0.4976 MB / 0.7927 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.014, allocations: 63.95 kB / 0.7928 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.01425, allocations: 97.27 kB / 0.7928 GB, free: 6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.01472, allocations: 148.1 kB / 0.793 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01472, allocations: 0.5312 kB / 0.793 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000546/0.01527, allocations: 175.8 kB / 0.7932 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01528, allocations: 8 kB / 0.7932 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01529, allocations: 1.344 kB / 0.7932 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.0153, allocations: 3.938 kB / 0.7932 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.01552, allocations: 31.91 kB / 0.7932 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.01553, allocations: 4.859 kB / 0.7932 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.01568, allocations: 14.2 kB / 0.7932 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.0157, allocations: 8 kB / 0.7932 GB, free: 5.602 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001399/0.01584, allocations: 160.6 kB / 0.7934 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.0159, allocations: 15.91 kB / 0.7934 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007045/0.0166, allocations: 184.5 kB / 0.7936 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.01661, allocations: 3.938 kB / 0.7936 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01661, allocations: 1.031 kB / 0.7936 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01661, allocations: 0 / 0.7936 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.01688, allocations: 177.4 kB / 0.7937 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.01688, allocations: 0.7812 kB / 0.7937 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.01707, allocations: 24.47 kB / 0.7938 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01707, allocations: 1.062 kB / 0.7938 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.01709, allocations: 3.984 kB / 0.7938 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01709, allocations: 0 / 0.7938 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01709, allocations: 5 kB / 0.7938 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006394/0.01773, allocations: 321.2 kB / 0.7941 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.01775, allocations: 11.84 kB / 0.7941 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.01778, allocations: 12.81 kB / 0.7941 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.01802, allocations: 16.62 kB / 0.7941 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.01807, allocations: 11.92 kB / 0.7941 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.01809, allocations: 4.656 kB / 0.7941 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001215/0.01822, allocations: 157 kB / 0.7943 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01822, allocations: 6.25 kB / 0.7943 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002709/0.01849, allocations: 16 kB / 0.7943 GB, free: 4.438 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.0001452/0.01863, allocations: 95.25 kB / 0.7944 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000549/0.01918, allocations: 158.7 kB / 0.7945 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01918, allocations: 0 / 0.7945 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.01944, allocations: 75.64 kB / 0.7946 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.01974, allocations: 27.22 kB / 0.7946 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.02041, allocations: 270.6 kB / 0.7949 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.02051, allocations: 85.31 kB / 0.795 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.02061, allocations: 23.97 kB / 0.795 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.02067, allocations: 12.5 kB / 0.795 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.02067, allocations: 0 / 0.795 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of Templates: time 0.005062/0.02574, allocations: 1.542 MB / 0.7965 GB, free: 2.117 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.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: 7.916659923037514]