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.0009333/0.0009333, 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.0009365/0.0009365, allocations: 161 kB / 23.82 MB, free: 0.75 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.9131/0.9131, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.809/1.809, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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 2.295e-06/2.295e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/3.004e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002061/0.002091, allocations: 1.516 MB / 0.813 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.002464, allocations: 147.5 kB / 0.8132 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.002498, allocations: 1.031 kB / 0.8132 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.323e-05/0.002551, allocations: 7.922 kB / 0.8132 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.399e-05/0.002625, allocations: 0 / 0.8132 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.002871, allocations: 32.69 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.409e-05/0.002965, allocations: 45.53 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.003083, allocations: 15.98 kB / 0.8133 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.003134, allocations: 23.86 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.003172, allocations: 15.98 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.003188, allocations: 5.531 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.091e-05/0.003269, allocations: 35.95 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.003288, allocations: 7.938 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.003312, allocations: 11.98 kB / 0.8134 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.00344, allocations: 63.75 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.003443, allocations: 4.609 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003444, allocations: 0.9062 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003449, allocations: 0 / 0.8134 GB, free: 15.83 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.0003575/0.003806, allocations: 374.1 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.003841, allocations: 12.03 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004645/0.004305, allocations: 159.2 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.071e-05/0.004396, allocations: 116.5 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.004412, allocations: 4.359 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.004427, allocations: 4.375 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.004664, allocations: 131.4 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004673, allocations: 0.9062 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.004685, allocations: 384 / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.004694, allocations: 4.906 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.004775, allocations: 57.48 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.005232, allocations: 324.7 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.005461, allocations: 96.86 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.005503, allocations: 23.69 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.005523, allocations: 9.094 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.005544, allocations: 37.38 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.005545, allocations: 0 / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002081/0.005753, allocations: 63.06 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.005782, allocations: 51.41 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.005854, allocations: 181.9 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005866, allocations: 31.39 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.005912, allocations: 138.8 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.005933, allocations: 11.95 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.00597, allocations: 19.38 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.006071, allocations: 0.4922 MB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.006107, allocations: 8.844 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.006139, allocations: 15.98 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.96e-05/0.006209, allocations: 25.91 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006211, allocations: 4 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001092/0.00632, allocations: 61.58 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.006334, allocations: 4 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.006338, allocations: 0 / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.006351, allocations: 2.781 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.006459, allocations: 23.91 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006465, allocations: 4 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.006517, allocations: 19.97 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.006525, allocations: 0 / 0.8158 GB, free: 13.16 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 6.309e-05/0.006588, allocations: 158 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.006617, allocations: 3.938 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.006653, allocations: 15.98 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.006655, allocations: 0.5 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.00666, allocations: 0.8906 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006663, allocations: 0 / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.006773, allocations: 130 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006775, allocations: 4 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.00684, allocations: 19.97 kB / 0.8162 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.006844, allocations: 8.484 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.006853, allocations: 9.109 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006854, allocations: 0 / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.006856, allocations: 0 / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.007008, allocations: 212.8 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-06/0.007015, allocations: 0 / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.007029, allocations: 3.938 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.007122, allocations: 28.19 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.007153, allocations: 0 / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.007159, allocations: 3.984 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.669e-05/0.007196, allocations: 127.2 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007196, allocations: 4 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001508/0.007347, allocations: 15.95 kB / 0.8165 GB, free: 12.38 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 8.953e-05/0.007436, allocations: 91.25 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.007563, allocations: 39.66 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007564, allocations: 1.531 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.007606, allocations: 27.62 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.007832, allocations: 18.58 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.008225, allocations: 184.2 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.239e-05/0.008258, allocations: 59.34 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.336e-05/0.008301, allocations: 10.83 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.008346, allocations: 13.28 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.008346, allocations: 0 / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of Templates: time 0.002503/0.01085, allocations: 1.007 MB / 0.818 GB, free: 10.89 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: 4.816579341888428]