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.0009643/0.0009643, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001275/0.001275, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9441/0.9441, 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.669/1.669, allocations: 359 MB / 0.6052 GB, free: 11 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 1.904e-06/1.904e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.815e-05, allocations: 5.672 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002076/0.002104, allocations: 1.52 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.00319, allocations: 0.5968 MB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.003253, allocations: 4.938 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.003287, allocations: 0 / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.003349, allocations: 10.27 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.003695, allocations: 71.67 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.003799, allocations: 27.92 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.684e-05/0.003886, allocations: 4 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004017, allocations: 23.86 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.457e-05/0.004062, allocations: 17.84 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.004076, allocations: 4 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.004192, allocations: 47.95 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.004203, allocations: 7.938 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.004224, allocations: 7.984 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.004364, allocations: 76.17 kB / 0.7895 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004367, allocations: 1.5 kB / 0.7895 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004368, allocations: 0 / 0.7895 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.004374, allocations: 4 kB / 0.7895 GB, free: 10.08 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.0003647/0.004739, allocations: 376.5 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.004778, allocations: 9.781 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.004904, allocations: 16.88 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005047, allocations: 116.6 kB / 0.79 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.005056, allocations: 384 / 0.79 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.005065, allocations: 5.469 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.005181, allocations: 58.92 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.005189, allocations: 4.125 kB / 0.79 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.005198, allocations: 2.312 kB / 0.79 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.005207, allocations: 3.938 kB / 0.79 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.81e-05/0.005235, allocations: 4 kB / 0.79 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.005488, allocations: 251.8 kB / 0.7903 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.005548, allocations: 37.66 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.005568, allocations: 7.688 kB / 0.7903 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.005861, allocations: 71.95 kB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.005889, allocations: 49.98 kB / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.00589, allocations: 0 / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000174/0.006064, allocations: 39.88 kB / 0.7905 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.006102, allocations: 55.41 kB / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.006189, allocations: 177.9 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.006199, allocations: 25.7 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.006256, allocations: 130.8 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.006275, allocations: 12.53 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.006304, allocations: 19.86 kB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.006424, allocations: 496.1 kB / 0.7913 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.006442, allocations: 4.812 kB / 0.7913 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.006454, allocations: 8 kB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.006486, allocations: 12.84 kB / 0.7914 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006488, allocations: 0 / 0.7914 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.072e-05/0.006558, allocations: 47.02 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.006575, allocations: 13.97 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.00658, allocations: 0 / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.006596, allocations: 0.8438 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.006663, allocations: 4 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.00667, allocations: 4.828 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.006683, allocations: 0 / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.00669, allocations: 9.219 kB / 0.7914 GB, free: 7.859 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 6.653e-05/0.006757, allocations: 152.6 kB / 0.7916 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.006773, allocations: 11.89 kB / 0.7916 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.006875, allocations: 46.16 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006877, allocations: 0 / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.006881, allocations: 1.156 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006884, allocations: 0 / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.261e-05/0.006977, allocations: 124.6 kB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006978, allocations: 1.375 kB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.007, allocations: 7.984 kB / 0.7918 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.007003, allocations: 4 kB / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.00701, allocations: 3.938 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.007011, allocations: 1.469 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007012, allocations: 0 / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.428e-05/0.007107, allocations: 191.9 kB / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.007114, allocations: 6.828 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.007125, allocations: 7.938 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.552e-05/0.007151, allocations: 0 / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.007183, allocations: 0 / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.007187, allocations: 4 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.007233, allocations: 131.2 kB / 0.7921 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007233, allocations: 0 / 0.7921 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001618/0.007395, allocations: 19.88 kB / 0.7921 GB, free: 7.098 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.0001532/0.007548, allocations: 113 kB / 0.7922 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.982e-05/0.007638, allocations: 27.61 kB / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007639, allocations: 1.094 kB / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.007655, allocations: 11.69 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.0078, allocations: 0 / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.008243, allocations: 135.5 kB / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.008281, allocations: 62.19 kB / 0.7925 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.881e-05/0.0083, allocations: 3.984 kB / 0.7925 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.008323, allocations: 12.5 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.008324, allocations: 0 / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of Templates: time 0.002611/0.01093, allocations: 0.7741 MB / 0.7932 GB, free: 5.922 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.632868547923863]