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.0009372/0.0009372, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009325/0.0009325, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9959/0.9959, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.756/1.756, allocations: 359 MB / 0.6063 GB, free: 10.88 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.345e-06/2.345e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.223e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002989/0.003022, allocations: 1.523 MB / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.004073, allocations: 0.5869 MB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.004142, allocations: 0 / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.004174, allocations: 4.5 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.004239, allocations: 12.55 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.004558, allocations: 60.66 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.004673, allocations: 31.86 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.00477, allocations: 0.6562 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.004944, allocations: 35.84 kB / 0.7905 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.004995, allocations: 8.891 kB / 0.7905 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.005011, allocations: 0 / 0.7905 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.005145, allocations: 61.53 kB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.005161, allocations: 4 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.00518, allocations: 7.938 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.005359, allocations: 71.73 kB / 0.7907 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.005363, allocations: 0 / 0.7907 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005364, allocations: 3.469 kB / 0.7907 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.00537, allocations: 3.938 kB / 0.7907 GB, free: 9.805 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.0004265/0.005796, allocations: 380.4 kB / 0.791 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.005841, allocations: 8.031 kB / 0.791 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.005994, allocations: 16.88 kB / 0.7911 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.006155, allocations: 116.6 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.006166, allocations: 384 / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.006175, allocations: 4.375 kB / 0.7912 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.00629, allocations: 51.47 kB / 0.7912 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.006297, allocations: 4.781 kB / 0.7912 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.006306, allocations: 384 / 0.7912 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.006313, allocations: 5.594 kB / 0.7912 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.704e-05/0.00634, allocations: 11.92 kB / 0.7912 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.006604, allocations: 236.4 kB / 0.7915 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.00666, allocations: 27.06 kB / 0.7915 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.006684, allocations: 12.75 kB / 0.7915 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003824/0.007067, allocations: 73.89 kB / 0.7916 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.007094, allocations: 37.39 kB / 0.7916 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.714e-06/0.007096, allocations: 5.344 kB / 0.7916 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001717/0.007268, allocations: 41.64 kB / 0.7917 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.007304, allocations: 55.41 kB / 0.7917 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.007403, allocations: 174.4 kB / 0.7919 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.007416, allocations: 26.3 kB / 0.7919 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.007476, allocations: 138.8 kB / 0.792 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.007498, allocations: 5.344 kB / 0.792 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.007532, allocations: 15.38 kB / 0.792 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.00771, allocations: 0.4923 MB / 0.7925 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.007748, allocations: 0 / 0.7925 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.007765, allocations: 4.719 kB / 0.7925 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.007804, allocations: 17.5 kB / 0.7925 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007806, allocations: 0 / 0.7925 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.65e-05/0.007883, allocations: 45.64 kB / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.007898, allocations: 7.938 kB / 0.7926 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.007905, allocations: 4.562 kB / 0.7926 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.007915, allocations: 4.719 kB / 0.7926 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.007992, allocations: 8 kB / 0.7926 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.007995, allocations: 1.219 kB / 0.7926 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.008015, allocations: 0 / 0.7926 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.008019, allocations: 0 / 0.7926 GB, free: 7.617 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 0.0001421/0.008161, allocations: 161.1 kB / 0.7928 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.008179, allocations: 9.047 kB / 0.7928 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-05/0.008273, allocations: 49.25 kB / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008276, allocations: 0 / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.008278, allocations: 4.969 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.00828, allocations: 0 / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/0.008377, allocations: 97.25 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008378, allocations: 0.5 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.008405, allocations: 4.688 kB / 0.7929 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.008406, allocations: 0 / 0.7929 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.008411, allocations: 1.062 kB / 0.7929 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008412, allocations: 0 / 0.7929 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.008415, allocations: 7.938 kB / 0.7929 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.008517, allocations: 193 kB / 0.7931 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.008527, allocations: 7.953 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.008536, allocations: 0.8438 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/0.008584, allocations: 0 / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.00861, allocations: 14.14 kB / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.008613, allocations: 0 / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.008651, allocations: 123.6 kB / 0.7933 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008651, allocations: 0 / 0.7933 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001665/0.008818, allocations: 23.92 kB / 0.7933 GB, free: 6.883 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.0001523/0.00897, allocations: 114 kB / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.201e-05/0.009042, allocations: 23.61 kB / 0.7934 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009044, allocations: 0 / 0.7934 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.396e-05/0.009058, allocations: 15.62 kB / 0.7934 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.009206, allocations: 288 / 0.7934 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.009566, allocations: 139.7 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.056e-05/0.009596, allocations: 55.36 kB / 0.7936 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.009613, allocations: 0.5625 kB / 0.7936 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.009649, allocations: 74.75 kB / 0.7937 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.00965, allocations: 0 / 0.7937 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of Templates: time 0.002145/0.0118, allocations: 0.7933 MB / 0.7945 GB, free: 5.637 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: 5.049055987969041]