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.001388/0.001388, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001456/0.001456, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.462/1.462, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.715/2.715, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.402e-06/1.402e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.765e-05, allocations: 3.078 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003419/0.003447, allocations: 1.769 MB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.005015, allocations: 0.696 MB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.005107, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.005155, allocations: 11.86 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.005251, allocations: 20.97 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.005928, allocations: 182.3 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.006174, allocations: 123.6 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.006315, allocations: 38.16 kB / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.006545, allocations: 92.42 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.006633, allocations: 39.81 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.006668, allocations: 12.91 kB / 0.7893 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.006805, allocations: 47.95 kB / 0.7893 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.006849, allocations: 32.56 kB / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.006913, allocations: 39.89 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.007213, allocations: 172.1 kB / 0.7896 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.007216, allocations: 4 kB / 0.7896 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.007216, allocations: 1.656 kB / 0.7896 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.007221, allocations: 0 / 0.7896 GB, free: 9.527 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.0007074/0.007928, allocations: 361.7 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.007964, allocations: 9.375 kB / 0.7899 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.009097, allocations: 138.9 kB / 0.7901 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.009411, allocations: 157.6 kB / 0.7902 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.009559, allocations: 119.3 kB / 0.7903 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.009593, allocations: 8.375 kB / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.01022, allocations: 221.2 kB / 0.7905 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.01023, allocations: 0 / 0.7905 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.01026, allocations: 4 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.01027, allocations: 4.531 kB / 0.7906 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.01094, allocations: 158 kB / 0.7907 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.01211, allocations: 400.8 kB / 0.7911 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.01319, allocations: 209 kB / 0.7913 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.01352, allocations: 87.81 kB / 0.7914 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.01354, allocations: 3.984 kB / 0.7914 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.01359, allocations: 38.55 kB / 0.7914 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.01359, allocations: 0 / 0.7914 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.001159/0.01475, allocations: 256.8 kB / 0.7917 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.0148, allocations: 60.34 kB / 0.7917 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.01495, allocations: 139.9 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.01499, allocations: 29.7 kB / 0.7919 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.01509, allocations: 116.7 kB / 0.792 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.01512, allocations: 24.36 kB / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.01518, allocations: 21.7 kB / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.01536, allocations: 323.4 kB / 0.7923 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.0157, allocations: 81.08 kB / 0.7924 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.01604, allocations: 96.55 kB / 0.7925 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.0167, allocations: 157.4 kB / 0.7927 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.0167, allocations: 0 / 0.7927 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007697/0.01747, allocations: 209.6 kB / 0.7929 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01748, allocations: 4 kB / 0.7929 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01749, allocations: 4 kB / 0.7929 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.01751, allocations: 3.938 kB / 0.7929 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.0178, allocations: 39.33 kB / 0.7929 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.01781, allocations: 4 kB / 0.7929 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.01802, allocations: 27.95 kB / 0.7929 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.01804, allocations: 4 kB / 0.7929 GB, free: 5.887 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.0001228/0.01816, allocations: 113.8 kB / 0.793 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.01822, allocations: 15.91 kB / 0.7931 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008022/0.01902, allocations: 205.3 kB / 0.7933 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.01903, allocations: 5.062 kB / 0.7933 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01903, allocations: 3.938 kB / 0.7933 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01904, allocations: 3.984 kB / 0.7933 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.01929, allocations: 154.9 kB / 0.7934 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01929, allocations: 4 kB / 0.7934 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.01955, allocations: 28.45 kB / 0.7934 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01955, allocations: 4.844 kB / 0.7935 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01956, allocations: 4 kB / 0.7935 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01957, allocations: 1.125 kB / 0.7935 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.01957, allocations: 3.938 kB / 0.7935 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007993/0.02037, allocations: 289.7 kB / 0.7937 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.02039, allocations: 11.84 kB / 0.7938 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.02041, allocations: 4.5 kB / 0.7938 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.02075, allocations: 36.67 kB / 0.7938 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.0208, allocations: 7.922 kB / 0.7938 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.02082, allocations: 7.984 kB / 0.7938 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001012/0.02092, allocations: 113.1 kB / 0.7939 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02092, allocations: 0 / 0.7939 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002798/0.0212, allocations: 24 kB / 0.7939 GB, free: 4.82 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.0001499/0.02135, allocations: 91.25 kB / 0.794 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000735/0.02209, allocations: 163.9 kB / 0.7942 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02209, allocations: 0 / 0.7942 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.02245, allocations: 80.05 kB / 0.7943 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.02275, allocations: 22.02 kB / 0.7943 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007641/0.02351, allocations: 272.8 kB / 0.7945 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.02361, allocations: 89.31 kB / 0.7946 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.686e-05/0.02371, allocations: 12 kB / 0.7946 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.02378, allocations: 16.48 kB / 0.7946 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.02378, allocations: 0 / 0.7946 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of Templates: time 0.004875/0.02865, allocations: 1.563 MB / 0.7962 GB, free: 2.492 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] 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.510437816963531]