Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007307/0.0007307, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001764, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001078/0.001078, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002377, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.108/1.163, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.403/2.403, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2492/2.653, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.981e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002261/0.002281, allocations: 1.568 MB / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003003/0.002581, allocations: 143.5 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.002616, allocations: 0 / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.002657, allocations: 7.922 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.002713, allocations: 0 / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.002861, allocations: 39.77 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.002987, allocations: 35.92 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.003121, allocations: 19.97 kB / 0.8201 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.003188, allocations: 27.92 kB / 0.8201 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.003231, allocations: 15.98 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.003248, allocations: 8 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.003362, allocations: 31.97 kB / 0.8202 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.003376, allocations: 7.938 kB / 0.8202 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.003394, allocations: 8 kB / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003519, allocations: 55.77 kB / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.003534, allocations: 0 / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003535, allocations: 0 / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.003553, allocations: 0 / 0.8202 GB, free: 0.9023 MB / 0.7917 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.0003563/0.003909, allocations: 264.4 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.003943, allocations: 16.56 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/0.004309, allocations: 157.9 kB / 0.8206 GB, free: 440 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.004395, allocations: 113.7 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.004407, allocations: 4.375 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.004419, allocations: 4.375 kB / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.00459, allocations: 102.9 kB / 0.8209 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004598, allocations: 4.188 kB / 0.8209 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.004609, allocations: 4.375 kB / 0.8209 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004614, allocations: 384 / 0.8209 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.004663, allocations: 31.92 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.005028, allocations: 208.1 kB / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.005191, allocations: 70.52 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.005216, allocations: 16.86 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.005235, allocations: 0 / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.005255, allocations: 38.56 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005256, allocations: 0 / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001373/0.005393, allocations: 61.55 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.00542, allocations: 51.41 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.005471, allocations: 114.8 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.005482, allocations: 25.7 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.00551, allocations: 92.08 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.005528, allocations: 7.906 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.005558, allocations: 25.69 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.441e-05/0.005623, allocations: 310.8 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.005645, allocations: 12 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.005664, allocations: 8.172 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.005705, allocations: 24.92 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.005707, allocations: 0 / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.559e-05/0.005772, allocations: 49.62 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.005786, allocations: 11.94 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.00579, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.005798, allocations: 4 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.005893, allocations: 23.97 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.005895, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.005937, allocations: 11.98 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.005944, allocations: 3.938 kB / 0.822 GB, free: 14.89 MB / 0.8073 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.337e-05/0.005997, allocations: 113.8 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.006012, allocations: 0 / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.006039, allocations: 15.94 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006041, allocations: 4 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.006043, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.006045, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.17e-05/0.006137, allocations: 77.88 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.006137, allocations: 4 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.116e-05/0.006199, allocations: 19.97 kB / 0.8222 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.006207, allocations: 11.92 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006208, allocations: 0 / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.006216, allocations: 7.938 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.006217, allocations: 0 / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006217, allocations: 4 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/0.006315, allocations: 135.5 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.006328, allocations: 7.984 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.006385, allocations: 11.98 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.006409, allocations: 7.938 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.006413, allocations: 0 / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.336e-05/0.006426, allocations: 16.83 kB / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006426, allocations: 0 / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001203/0.006547, allocations: 19.89 kB / 0.8225 GB, free: 14.39 MB / 0.8073 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.403e-05/0.006611, allocations: 80.42 kB / 0.8225 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.006699, allocations: 32.78 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.006702, allocations: 0 / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.00673, allocations: 12.86 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.006864, allocations: 11.98 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.007354, allocations: 152.5 kB / 0.8227 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.007385, allocations: 71.2 kB / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.007422, allocations: 4 kB / 0.8228 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.007486, allocations: 59.36 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.007486, allocations: 4 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.002223/0.009709, allocations: 0.9723 MB / 0.8238 GB, free: 12.95 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.ref.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.192775592207909]