Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.001016/0.001016, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001033/0.001033, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9676/0.9676, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.709/1.709, allocations: 359 MB / 0.6055 GB, free: 11.01 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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.502e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003237/0.003272, allocations: 1.512 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.004328, allocations: 0.5939 MB / 0.7892 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.004401, allocations: 0.6562 kB / 0.7892 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.004446, allocations: 5.531 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.004509, allocations: 11.88 kB / 0.7892 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.004815, allocations: 59.75 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.004928, allocations: 33.44 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.005025, allocations: 8 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.00516, allocations: 27.84 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.005206, allocations: 4 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.005224, allocations: 7.438 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.005336, allocations: 55.94 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.005352, allocations: 7.938 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.005381, allocations: 7.984 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.005538, allocations: 75.72 kB / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005542, allocations: 0 / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.385e-06/0.005544, allocations: 7.938 kB / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.00555, allocations: 0 / 0.7895 GB, free: 10.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004134/0.005963, allocations: 372.5 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.006009, allocations: 12.72 kB / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.006148, allocations: 13.48 kB / 0.7898 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.006303, allocations: 120.6 kB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.006313, allocations: 1 kB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.006321, allocations: 1.5 kB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.006442, allocations: 54.95 kB / 0.79 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.006449, allocations: 192 / 0.79 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.00646, allocations: 1.156 kB / 0.79 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.006469, allocations: 3.938 kB / 0.79 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.006503, allocations: 12.61 kB / 0.79 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.006787, allocations: 247.8 kB / 0.7903 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.006842, allocations: 36.3 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.006865, allocations: 11.69 kB / 0.7903 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/0.007166, allocations: 69.91 kB / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.007192, allocations: 45.31 kB / 0.7904 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.007193, allocations: 1.531 kB / 0.7904 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001652/0.007359, allocations: 41.64 kB / 0.7905 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.007391, allocations: 55.41 kB / 0.7905 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.007481, allocations: 174.4 kB / 0.7907 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.007492, allocations: 27.08 kB / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.007541, allocations: 138.8 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.007557, allocations: 4 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.007585, allocations: 19.38 kB / 0.7909 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.007709, allocations: 0.489 MB / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.007725, allocations: 0 / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.007737, allocations: 5.969 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.447e-05/0.007771, allocations: 19.62 kB / 0.7914 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.007774, allocations: 0 / 0.7914 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.162e-05/0.007836, allocations: 46.11 kB / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.007853, allocations: 11.94 kB / 0.7914 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.007859, allocations: 0.7188 kB / 0.7914 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.007872, allocations: 1.25 kB / 0.7914 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.007937, allocations: 4 kB / 0.7914 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.007943, allocations: 0 / 0.7914 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.007958, allocations: 0 / 0.7914 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.007964, allocations: 4.5 kB / 0.7914 GB, free: 8.18 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.04e-05/0.008034, allocations: 161.7 kB / 0.7916 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.008054, allocations: 15.83 kB / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.773e-05/0.008152, allocations: 46.22 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.008155, allocations: 3.984 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.008158, allocations: 0.8438 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008162, allocations: 0 / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.008265, allocations: 120.6 kB / 0.7918 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008267, allocations: 6.219 kB / 0.7918 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.00829, allocations: 4 kB / 0.7918 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008292, allocations: 0 / 0.7918 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.0083, allocations: 3.938 kB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008301, allocations: 0 / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008302, allocations: 0 / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.008406, allocations: 194.7 kB / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.008414, allocations: 7.953 kB / 0.792 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.008425, allocations: 3.938 kB / 0.792 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.008453, allocations: 3.984 kB / 0.792 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.008482, allocations: 0 / 0.792 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.008486, allocations: 4 kB / 0.792 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.008527, allocations: 132.6 kB / 0.7921 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008527, allocations: 0 / 0.7921 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000161/0.008688, allocations: 15.94 kB / 0.7921 GB, free: 7.41 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 (2): * Single equations (assignments): 2 * 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.0001613/0.00885, allocations: 115.7 kB / 0.7922 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.008933, allocations: 16.81 kB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.008934, allocations: 7.875 kB / 0.7923 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.008952, allocations: 16.75 kB / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.009122, allocations: 11.92 kB / 0.7923 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.009605, allocations: 133.9 kB / 0.7924 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.009642, allocations: 59.34 kB / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.009661, allocations: 0 / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.009685, allocations: 13.31 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.009686, allocations: 0 / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.002612/0.0123, allocations: 0.7062 MB / 0.7932 GB, free: 6.289 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.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.998117709998041]