Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001353/0.001353, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001465/0.001465, allocations: 162.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.472/1.472, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.951/2.951, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.929e-05, allocations: 13.53 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003123/0.003152, allocations: 1.769 MB / 0.9832 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.004579, allocations: 0.6931 MB / 0.9838 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.004659, allocations: 3.938 kB / 0.9838 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.004698, allocations: 7.875 kB / 0.9839 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.337e-05/0.004781, allocations: 23.8 kB / 0.9839 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.005396, allocations: 183 kB / 0.9841 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.005606, allocations: 131.5 kB / 0.9842 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.005744, allocations: 41.59 kB / 0.9842 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.005998, allocations: 87.8 kB / 0.9843 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.00608, allocations: 35.89 kB / 0.9843 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.006114, allocations: 12 kB / 0.9843 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.006234, allocations: 47.95 kB / 0.9844 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.006278, allocations: 31.89 kB / 0.9844 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.00633, allocations: 39.84 kB / 0.9845 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.006624, allocations: 171.4 kB / 0.9846 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006627, allocations: 4 kB / 0.9846 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.01e-07/0.006628, allocations: 0 / 0.9846 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.269e-06/0.006632, allocations: 4 kB / 0.9846 GB, free: 8.711 MB / 0.9356 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.0006561/0.007288, allocations: 369.6 kB / 0.985 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.007324, allocations: 8.031 kB / 0.985 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.008383, allocations: 136.6 kB / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.008657, allocations: 146.2 kB / 0.9853 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.008801, allocations: 111.4 kB / 0.9854 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.008826, allocations: 16.36 kB / 0.9854 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.009468, allocations: 221.2 kB / 0.9856 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.009477, allocations: 0 / 0.9856 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.009504, allocations: 12 kB / 0.9856 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.009515, allocations: 3.984 kB / 0.9856 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.01021, allocations: 155.7 kB / 0.9858 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.01143, allocations: 413.7 kB / 0.9862 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.01259, allocations: 210.3 kB / 0.9864 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.01293, allocations: 80.91 kB / 0.9864 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.01296, allocations: 3.984 kB / 0.9864 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.013, allocations: 30.56 kB / 0.9865 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.013, allocations: 3.938 kB / 0.9865 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.001181/0.01418, allocations: 261.4 kB / 0.9867 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.01424, allocations: 55.34 kB / 0.9868 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.01443, allocations: 144.3 kB / 0.9869 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.01446, allocations: 25.7 kB / 0.9869 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01457, allocations: 120.2 kB / 0.987 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.0146, allocations: 15.83 kB / 0.9871 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.01467, allocations: 25.72 kB / 0.9871 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.01484, allocations: 322.8 kB / 0.9874 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.01519, allocations: 71.91 kB / 0.9875 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.01554, allocations: 94.5 kB / 0.9876 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.01621, allocations: 166.3 kB / 0.9877 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01622, allocations: 0 / 0.9877 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007685/0.01698, allocations: 205.4 kB / 0.9879 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.01701, allocations: 7.938 kB / 0.9879 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.01702, allocations: 4 kB / 0.9879 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.01704, allocations: 3.938 kB / 0.9879 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.01734, allocations: 51.94 kB / 0.988 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01734, allocations: 0 / 0.988 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.01755, allocations: 19.97 kB / 0.988 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01757, allocations: 4 kB / 0.988 GB, free: 5.039 MB / 0.9356 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.0001343/0.0177, allocations: 113.8 kB / 0.9881 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.01775, allocations: 11.95 kB / 0.9881 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008511/0.0186, allocations: 206.6 kB / 0.9883 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.01861, allocations: 7.938 kB / 0.9883 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01862, allocations: 0 / 0.9883 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01862, allocations: 0 / 0.9883 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.01886, allocations: 158.2 kB / 0.9885 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01886, allocations: 3.938 kB / 0.9885 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.01912, allocations: 39.95 kB / 0.9885 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01912, allocations: 0 / 0.9885 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01913, allocations: 4 kB / 0.9885 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01913, allocations: 0 / 0.9885 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.01914, allocations: 3.938 kB / 0.9885 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.01992, allocations: 283.3 kB / 0.9888 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.01994, allocations: 11.89 kB / 0.9888 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.01997, allocations: 3.984 kB / 0.9888 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.02029, allocations: 27.95 kB / 0.9888 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.02034, allocations: 11.94 kB / 0.9888 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.02036, allocations: 7.984 kB / 0.9888 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.153e-05/0.02045, allocations: 109.3 kB / 0.989 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02045, allocations: 3.938 kB / 0.989 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002732/0.02072, allocations: 27.95 kB / 0.989 GB, free: 3.965 MB / 0.9356 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.0001556/0.02088, allocations: 103.8 kB / 0.9891 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007368/0.02161, allocations: 151.8 kB / 0.9892 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02162, allocations: 12.06 kB / 0.9892 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.02196, allocations: 83.84 kB / 0.9893 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.02226, allocations: 8 kB / 0.9893 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.02299, allocations: 249.5 kB / 0.9896 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.673e-05/0.02309, allocations: 93.31 kB / 0.9897 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.029e-05/0.02318, allocations: 19.97 kB / 0.9897 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.02324, allocations: 16.5 kB / 0.9897 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.02325, allocations: 0 / 0.9897 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of Templates: time 0.004607/0.02785, allocations: 1.559 MB / 0.9912 GB, free: 1.652 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.095145646482706]