Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009997/0.0009997, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009972/0.0009972, allocations: 181 kB / 24.09 MB, free: 420 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.9817/0.9817, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.865/1.865, allocations: 377.9 MB / 0.6239 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0.9844 kB / 0.812 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.638e-05, allocations: 3.562 kB / 0.812 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00245/0.002487, allocations: 1.521 MB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008874/0.003374, allocations: 0.5978 MB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.922e-05/0.003443, allocations: 0 / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.003473, allocations: 0 / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.107e-05/0.003534, allocations: 9.031 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.003899, allocations: 68.98 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.004028, allocations: 27.88 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004138, allocations: 3.984 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.004318, allocations: 30.34 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.004375, allocations: 15.92 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.004392, allocations: 3.938 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.004522, allocations: 51.95 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.00454, allocations: 7.984 kB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.004557, allocations: 4 kB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004715, allocations: 71.73 kB / 0.8144 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004719, allocations: 0.5312 kB / 0.8144 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004719, allocations: 1.531 kB / 0.8144 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.004724, allocations: 0 / 0.8144 GB, free: 14.9 MB / 0.7761 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.0004249/0.005149, allocations: 380.4 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.005189, allocations: 8.031 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.005305, allocations: 14.2 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.005443, allocations: 128.5 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.005454, allocations: 384 / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-06/0.005461, allocations: 1.75 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.005567, allocations: 54.89 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005574, allocations: 192 / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.005581, allocations: 5.578 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.005589, allocations: 7.922 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.138e-05/0.00561, allocations: 4 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.006165, allocations: 240.8 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.00621, allocations: 35.56 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.006225, allocations: 8.562 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.006506, allocations: 81.31 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.006531, allocations: 42.75 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.006533, allocations: 0 / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001426/0.006675, allocations: 41.64 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.006704, allocations: 52.56 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.006789, allocations: 165.9 kB / 0.8156 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.006801, allocations: 33.64 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.00685, allocations: 143.6 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.006866, allocations: 3.953 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.006894, allocations: 19.97 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.007018, allocations: 496.8 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.007035, allocations: 7.984 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.007046, allocations: 1.219 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.007076, allocations: 15.67 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.007078, allocations: 1.281 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.205e-05/0.00714, allocations: 37.7 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.007159, allocations: 7.984 kB / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.007165, allocations: 4.625 kB / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.007179, allocations: 0 / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.007238, allocations: 8.812 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.007242, allocations: 0 / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.007258, allocations: 5.562 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.007262, allocations: 0 / 0.8163 GB, free: 12.7 MB / 0.7761 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.005e-05/0.007332, allocations: 156.6 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.007348, allocations: 11.94 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.427e-05/0.007442, allocations: 50.25 kB / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007444, allocations: 0 / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007445, allocations: 3.344 kB / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007448, allocations: 0 / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.927e-05/0.007547, allocations: 97.27 kB / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.007549, allocations: 0 / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.007569, allocations: 7.984 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007571, allocations: 0 / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.007576, allocations: 3.938 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.007577, allocations: 3.938 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.007578, allocations: 3.938 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.007682, allocations: 184.4 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.007691, allocations: 5.891 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.007701, allocations: 4 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.587e-05/0.007727, allocations: 4 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.007756, allocations: 7.922 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.00776, allocations: 4 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.007802, allocations: 132.1 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.007802, allocations: 0 / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001581/0.00796, allocations: 20.77 kB / 0.817 GB, free: 11.96 MB / 0.7761 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.0001348/0.008095, allocations: 107.8 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.008163, allocations: 21.89 kB / 0.8171 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.008166, allocations: 8 kB / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.008178, allocations: 7.688 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.008321, allocations: 4 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.008723, allocations: 141.3 kB / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.008761, allocations: 59.16 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.008784, allocations: 7.984 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.008828, allocations: 66.2 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.008829, allocations: 0 / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.002572/0.0114, allocations: 0.7905 MB / 0.8182 GB, free: 10.71 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.086475823074579]