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.001/0.001, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001016/0.001016, allocations: 165 kB / 23.82 MB, free: 0.75 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.9503/0.9503, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.908/1.908, allocations: 359 MB / 0.6052 GB, free: 10.99 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.553e-06/1.553e-06, allocations: 1.094 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.036e-05, allocations: 8.641 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002425/0.002456, allocations: 1.824 MB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.003535, allocations: 0.7145 MB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.003607, allocations: 5.062 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.003645, allocations: 7.875 kB / 0.7896 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.003713, allocations: 25.22 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.00423, allocations: 173.3 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.0044, allocations: 134.1 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.004533, allocations: 41.58 kB / 0.7899 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.00471, allocations: 87.73 kB / 0.79 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.004778, allocations: 31.91 kB / 0.7901 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.004806, allocations: 11.98 kB / 0.7901 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.00491, allocations: 51.95 kB / 0.7901 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.004937, allocations: 29.66 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.004977, allocations: 39.89 kB / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.00518, allocations: 151.4 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.005183, allocations: 4 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005184, allocations: 0.5938 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.005189, allocations: 0 / 0.7903 GB, free: 9.16 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.0004525/0.005641, allocations: 457.2 kB / 0.7908 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.005681, allocations: 8.031 kB / 0.7908 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004749/0.006156, allocations: 107.2 kB / 0.7909 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.006353, allocations: 158.3 kB / 0.791 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.006434, allocations: 119.4 kB / 0.7911 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.006456, allocations: 8.375 kB / 0.7912 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.006731, allocations: 199.7 kB / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.006738, allocations: 0 / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.006758, allocations: 4 kB / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.006767, allocations: 5.297 kB / 0.7914 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.006862, allocations: 59.88 kB / 0.7914 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.007459, allocations: 419.7 kB / 0.7918 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.007769, allocations: 149.5 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.00782, allocations: 35.8 kB / 0.792 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.007843, allocations: 4 kB / 0.792 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.007866, allocations: 41.33 kB / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.007867, allocations: 0 / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002616/0.008129, allocations: 118.2 kB / 0.7921 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.008159, allocations: 60.05 kB / 0.7922 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.008267, allocations: 195.4 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.008285, allocations: 26.23 kB / 0.7924 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.008347, allocations: 162.9 kB / 0.7926 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.008368, allocations: 25.44 kB / 0.7926 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.008412, allocations: 31.36 kB / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.008529, allocations: 0.4923 MB / 0.7931 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.008585, allocations: 23.98 kB / 0.7931 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/0.008646, allocations: 59.48 kB / 0.7932 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.008751, allocations: 71.95 kB / 0.7933 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.008754, allocations: 0.7812 kB / 0.7933 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001685/0.008922, allocations: 110.8 kB / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.008939, allocations: 10.19 kB / 0.7934 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.008945, allocations: 0 / 0.7934 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.008962, allocations: 4.781 kB / 0.7934 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.009091, allocations: 33.16 kB / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.009098, allocations: 0 / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.00916, allocations: 19.92 kB / 0.7934 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.00917, allocations: 5.281 kB / 0.7934 GB, free: 5.75 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.281e-05/0.009253, allocations: 160.6 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.009285, allocations: 9.734 kB / 0.7936 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.009472, allocations: 114.3 kB / 0.7937 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.009475, allocations: 3.938 kB / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.009479, allocations: 2.562 kB / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009482, allocations: 0 / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.009634, allocations: 177.2 kB / 0.7939 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009636, allocations: 384 / 0.7939 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.009718, allocations: 23.97 kB / 0.7939 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.009721, allocations: 4 kB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.009731, allocations: 0.5 kB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.009731, allocations: 1.438 kB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.009736, allocations: 7.938 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.009921, allocations: 239.9 kB / 0.7941 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.009934, allocations: 15.89 kB / 0.7942 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.009948, allocations: 1.906 kB / 0.7942 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.01005, allocations: 19.92 kB / 0.7942 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.01009, allocations: 15.92 kB / 0.7942 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.0101, allocations: 7.984 kB / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.01016, allocations: 141.9 kB / 0.7943 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01016, allocations: 0 / 0.7943 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001805/0.01034, allocations: 24 kB / 0.7944 GB, free: 4.742 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.0001016/0.01044, allocations: 100.3 kB / 0.7945 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.01061, allocations: 76.25 kB / 0.7945 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01061, allocations: 0.7188 kB / 0.7945 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/0.01066, allocations: 39.67 kB / 0.7946 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.01087, allocations: 23.08 kB / 0.7946 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.01142, allocations: 234.5 kB / 0.7948 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.983e-05/0.01146, allocations: 63.28 kB / 0.7949 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.585e-05/0.01151, allocations: 18.83 kB / 0.7949 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.01157, allocations: 21.61 kB / 0.7949 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.01157, allocations: 0 / 0.7949 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.003232/0.0148, allocations: 1.551 MB / 0.7964 GB, free: 2.59 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: 5.144897818099707]