Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.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.0009443/0.0009443, allocations: 83.59 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.0009664/0.0009664, allocations: 165 kB / 23.82 MB, free: 0.7461 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.061/1.061, allocations: 177.1 MB / 204.2 MB, free: 5.215 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.858/1.858, allocations: 377.9 MB / 0.6236 GB, free: 8.562 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.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.041e-05, allocations: 7.156 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002076/0.002106, allocations: 1.515 MB / 0.813 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003431/0.002449, allocations: 137 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.002483, allocations: 0 / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.507e-05/0.002538, allocations: 3.938 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.002611, allocations: 5.156 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.002845, allocations: 35.89 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.002955, allocations: 39.84 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.003071, allocations: 16.62 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.003125, allocations: 35.89 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.003163, allocations: 12.89 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.00318, allocations: 4 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.003256, allocations: 32.58 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.003273, allocations: 7.984 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.003295, allocations: 16.77 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.003416, allocations: 59.81 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.003419, allocations: 1.25 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.00342, allocations: 0 / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.003425, allocations: 0 / 0.8134 GB, free: 15.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003484/0.003773, allocations: 386.5 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.003806, allocations: 8.031 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.004255, allocations: 149.6 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.985e-05/0.004335, allocations: 120.5 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004346, allocations: 5.906 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.004361, allocations: 4.375 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.004583, allocations: 143.7 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.004592, allocations: 192 / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.004603, allocations: 384 / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.00461, allocations: 1.125 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.00469, allocations: 44.61 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.005138, allocations: 333.3 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.005352, allocations: 96.53 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.005393, allocations: 21.08 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.005415, allocations: 3.938 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.005433, allocations: 37.39 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.005434, allocations: 1.156 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000199/0.005633, allocations: 73.61 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.005656, allocations: 51.41 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.005718, allocations: 170.5 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.005731, allocations: 26.55 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.005775, allocations: 150.8 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.005793, allocations: 5.641 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.005829, allocations: 27.36 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.005926, allocations: 0.4884 MB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.005961, allocations: 11.98 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.005989, allocations: 4 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/0.00605, allocations: 33.91 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006052, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.949e-05/0.006151, allocations: 73.48 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.006161, allocations: 4 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006166, allocations: 4.812 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.00618, allocations: 0 / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.006279, allocations: 23.38 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.006283, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.006332, allocations: 11.98 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.006341, allocations: 7.984 kB / 0.8158 GB, free: 13.13 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 (3): * Single equations (assignments): 3 * 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 5.915e-05/0.0064, allocations: 156.6 kB / 0.816 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.006421, allocations: 7.938 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.006451, allocations: 4.625 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.006452, allocations: 0 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.006455, allocations: 0.5 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.006458, allocations: 1.594 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.006564, allocations: 132.6 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006564, allocations: 4 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.006628, allocations: 19.97 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.006631, allocations: 8.844 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.00664, allocations: 4 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.00664, allocations: 1.688 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006641, allocations: 3.938 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.006776, allocations: 207.9 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/0.006781, allocations: 4 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.006794, allocations: 4.562 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.006859, allocations: 16.8 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.006889, allocations: 7.922 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.006895, allocations: 4.938 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.006927, allocations: 127.2 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006927, allocations: 0 / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001491/0.007076, allocations: 21.3 kB / 0.8165 GB, free: 12.35 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 (3): * Single equations (assignments): 3 * 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 6.77e-05/0.007144, allocations: 91.25 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.007259, allocations: 40.36 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.00726, allocations: 5.812 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.007301, allocations: 23.67 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.007468, allocations: 11.94 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.007808, allocations: 181.4 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.007841, allocations: 63.34 kB / 0.8169 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.007881, allocations: 14.02 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.007928, allocations: 8.5 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.007929, allocations: 0 / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of Templates: time 0.002272/0.0102, allocations: 0.9624 MB / 0.8179 GB, free: 10.92 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.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.234679622109979]