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.00122/0.00122, allocations: 87.58 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.001065/0.001065, allocations: 161 kB / 23.81 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 1.024/1.024, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.83/1.83, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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 1.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.057e-05, allocations: 4.844 kB / 0.8115 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.004818/0.004848, allocations: 1.517 MB / 0.813 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.005832, allocations: 0.6096 MB / 0.8136 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.005887, allocations: 1.562 kB / 0.8136 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.00592, allocations: 3.938 kB / 0.8136 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.00597, allocations: 7.875 kB / 0.8136 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.006286, allocations: 64.53 kB / 0.8137 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.006389, allocations: 31.86 kB / 0.8137 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.006482, allocations: 9 kB / 0.8137 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.006609, allocations: 23.97 kB / 0.8137 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.006654, allocations: 11.94 kB / 0.8138 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.006669, allocations: 1.406 kB / 0.8138 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.006775, allocations: 59.88 kB / 0.8138 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.006788, allocations: 7.984 kB / 0.8138 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.006809, allocations: 9.75 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.006945, allocations: 67.8 kB / 0.8139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.006948, allocations: 0 / 0.8139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.363e-06/0.00695, allocations: 0 / 0.8139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.006954, allocations: 0 / 0.8139 GB, free: 14.16 MB / 0.7292 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.0003604/0.007315, allocations: 385.4 kB / 0.8143 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.007361, allocations: 8.031 kB / 0.8143 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.007479, allocations: 12.89 kB / 0.8143 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.007617, allocations: 126.1 kB / 0.8144 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.007626, allocations: 384 / 0.8144 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.007638, allocations: 4.375 kB / 0.8144 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.007742, allocations: 54.89 kB / 0.8145 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.007752, allocations: 2.469 kB / 0.8145 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.007761, allocations: 384 / 0.8145 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.007771, allocations: 3.938 kB / 0.8145 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.055e-05/0.007802, allocations: 11.92 kB / 0.8145 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.008053, allocations: 247.8 kB / 0.8147 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.008104, allocations: 31.78 kB / 0.8147 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.008124, allocations: 11.75 kB / 0.8148 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.00841, allocations: 82.08 kB / 0.8148 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.008432, allocations: 41.33 kB / 0.8149 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.008433, allocations: 0.625 kB / 0.8149 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001574/0.008591, allocations: 42.95 kB / 0.8149 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.008617, allocations: 51.41 kB / 0.815 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.0087, allocations: 177.9 kB / 0.8151 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.008712, allocations: 26.86 kB / 0.8152 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.008755, allocations: 126.9 kB / 0.8153 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.008772, allocations: 15.89 kB / 0.8153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.008799, allocations: 16.75 kB / 0.8153 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.008903, allocations: 0.4884 MB / 0.8158 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.008916, allocations: 4 kB / 0.8158 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.539e-05/0.008931, allocations: 5.656 kB / 0.8158 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.008965, allocations: 15.62 kB / 0.8158 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008967, allocations: 0 / 0.8158 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.134e-05/0.009028, allocations: 49.64 kB / 0.8159 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.009044, allocations: 12.84 kB / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.009048, allocations: 0 / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.009065, allocations: 0.8438 kB / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.009127, allocations: 4 kB / 0.8159 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.009132, allocations: 1.656 kB / 0.8159 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.009147, allocations: 0 / 0.8159 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.009153, allocations: 3.984 kB / 0.8159 GB, free: 11.94 MB / 0.7292 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.078e-05/0.009213, allocations: 156.6 kB / 0.816 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.00923, allocations: 4.812 kB / 0.816 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.009335, allocations: 53.25 kB / 0.8161 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009337, allocations: 2.188 kB / 0.8161 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.009341, allocations: 0 / 0.8161 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.009345, allocations: 3.938 kB / 0.8161 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.917e-05/0.009444, allocations: 120.6 kB / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009446, allocations: 4 kB / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.00947, allocations: 4 kB / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.009472, allocations: 2.156 kB / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.00948, allocations: 7.922 kB / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009482, allocations: 0 / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009482, allocations: 0 / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.009732, allocations: 187.9 kB / 0.8164 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-06/0.009739, allocations: 4.484 kB / 0.8164 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.009749, allocations: 4.469 kB / 0.8164 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.009777, allocations: 5.906 kB / 0.8164 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.009807, allocations: 3.984 kB / 0.8164 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.00981, allocations: 0 / 0.8164 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.009855, allocations: 135.2 kB / 0.8166 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009855, allocations: 0 / 0.8166 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001599/0.01001, allocations: 19.89 kB / 0.8166 GB, free: 11.17 MB / 0.7292 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.0001488/0.01016, allocations: 108.4 kB / 0.8167 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.01025, allocations: 20.25 kB / 0.8167 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.01025, allocations: 3.438 kB / 0.8167 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.01027, allocations: 19.61 kB / 0.8167 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.01042, allocations: 6.281 kB / 0.8167 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.01088, allocations: 134.2 kB / 0.8169 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.445e-05/0.01092, allocations: 59.34 kB / 0.8169 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.01094, allocations: 2.156 kB / 0.8169 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.01096, allocations: 12.5 kB / 0.8169 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.01096, allocations: 0 / 0.8169 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.002444/0.01341, allocations: 0.7041 MB / 0.8176 GB, free: 10.07 MB / 0.7292 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.177215592004359]