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.001027/0.001027, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001081/0.001081, allocations: 170.3 kB / 24.86 MB, free: 9.277 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 0.9295/0.9295, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.796/1.796, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.372e-06/1.372e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.465e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002726/0.00274, allocations: 1.812 MB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.00386, allocations: 0.7146 MB / 0.7908 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.003933, allocations: 1.062 kB / 0.7908 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.054e-05/0.003973, allocations: 7.875 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.004056, allocations: 29.28 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.004573, allocations: 173.5 kB / 0.791 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.004763, allocations: 133.9 kB / 0.7911 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.004899, allocations: 45.52 kB / 0.7912 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.005082, allocations: 87.8 kB / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.00516, allocations: 35.83 kB / 0.7913 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.005185, allocations: 8 kB / 0.7913 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.005295, allocations: 51.95 kB / 0.7913 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.005329, allocations: 28.5 kB / 0.7914 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.005373, allocations: 41.55 kB / 0.7914 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.005592, allocations: 155.4 kB / 0.7915 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005594, allocations: 0 / 0.7915 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005595, allocations: 0 / 0.7915 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.005598, allocations: 0 / 0.7915 GB, free: 8.887 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.0004702/0.006069, allocations: 460.8 kB / 0.792 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.006104, allocations: 8.031 kB / 0.792 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006282/0.006732, allocations: 109.2 kB / 0.7921 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.006928, allocations: 156.9 kB / 0.7922 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.007009, allocations: 115.4 kB / 0.7924 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.007035, allocations: 8.375 kB / 0.7924 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.007345, allocations: 190.7 kB / 0.7925 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.007353, allocations: 0.5312 kB / 0.7925 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.007374, allocations: 8 kB / 0.7926 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.00738, allocations: 1.656 kB / 0.7926 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.757e-05/0.007478, allocations: 49.59 kB / 0.7926 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.008156, allocations: 387.8 kB / 0.793 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.008548, allocations: 136.1 kB / 0.7931 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.008601, allocations: 33.05 kB / 0.7931 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.008616, allocations: 0 / 0.7931 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.008642, allocations: 37.33 kB / 0.7932 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.008643, allocations: 5.75 kB / 0.7932 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002624/0.008905, allocations: 105.7 kB / 0.7933 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.008933, allocations: 55.41 kB / 0.7933 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.009043, allocations: 201.4 kB / 0.7935 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.009066, allocations: 30.61 kB / 0.7935 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.009136, allocations: 158.9 kB / 0.7937 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.009162, allocations: 27.77 kB / 0.7937 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.00922, allocations: 28.2 kB / 0.7938 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.009357, allocations: 0.4962 MB / 0.7942 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.0094, allocations: 17.28 kB / 0.7943 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.009465, allocations: 54.95 kB / 0.7943 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.009569, allocations: 63.78 kB / 0.7944 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.009571, allocations: 0.875 kB / 0.7944 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001769/0.009748, allocations: 99.38 kB / 0.7945 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.009759, allocations: 4 kB / 0.7945 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.009763, allocations: 64 / 0.7945 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.009777, allocations: 8 kB / 0.7945 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.009923, allocations: 32.91 kB / 0.7945 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.009927, allocations: 4 kB / 0.7945 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/0.01002, allocations: 27.2 kB / 0.7945 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.01003, allocations: 0 / 0.7945 GB, free: 5.59 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 8.773e-05/0.01012, allocations: 156.6 kB / 0.7947 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.01017, allocations: 11.95 kB / 0.7947 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.01036, allocations: 102.3 kB / 0.7948 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01036, allocations: 0.5 kB / 0.7948 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01037, allocations: 5.875 kB / 0.7948 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01037, allocations: 0 / 0.7948 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.01055, allocations: 145.9 kB / 0.7949 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01055, allocations: 0 / 0.7949 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.01068, allocations: 23.97 kB / 0.795 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01068, allocations: 0.6562 kB / 0.795 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01069, allocations: 10.81 kB / 0.795 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01069, allocations: 0 / 0.795 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01069, allocations: 0 / 0.795 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.01091, allocations: 235.8 kB / 0.7952 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.01093, allocations: 23.77 kB / 0.7952 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.01095, allocations: 4 kB / 0.7952 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.01111, allocations: 11.98 kB / 0.7952 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.01114, allocations: 10.39 kB / 0.7952 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.01116, allocations: 7.984 kB / 0.7953 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.454e-05/0.01122, allocations: 151.1 kB / 0.7954 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01122, allocations: 0 / 0.7954 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002627/0.01149, allocations: 20 kB / 0.7954 GB, free: 4.637 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 9.529e-05/0.01158, allocations: 96.22 kB / 0.7955 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.01175, allocations: 68.81 kB / 0.7956 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01175, allocations: 4 kB / 0.7956 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.01181, allocations: 35.66 kB / 0.7956 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.01211, allocations: 28.97 kB / 0.7956 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.01263, allocations: 231.6 kB / 0.7959 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.01267, allocations: 65 kB / 0.7959 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.448e-05/0.01276, allocations: 11.53 kB / 0.7959 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.01295, allocations: 115 kB / 0.796 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01295, allocations: 0 / 0.796 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.004024/0.01697, allocations: 1.734 MB / 0.7977 GB, free: 2.211 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.808175421319902]