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.001402/0.001402, allocations: 75.75 kB / 19.76 MB, free: 2.023 MB / 14.72 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.001543/0.001543, allocations: 157.3 kB / 23.01 MB, free: 4.953 MB / 14.72 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.757/2.757, allocations: 378 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8612, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002229/0.8634, allocations: 1.483 MB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.8642, allocations: 0.5728 MB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.8643, allocations: 0 / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.8643, allocations: 3.938 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.8644, allocations: 7.875 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.8646, allocations: 69.81 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.8647, allocations: 26.34 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.8648, allocations: 2.844 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.8649, allocations: 28.12 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/0.8649, allocations: 10.08 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.865, allocations: 2.75 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.8651, allocations: 55.72 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.8651, allocations: 7.469 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.8651, allocations: 10.86 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.8652, allocations: 72.98 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8652, allocations: 0 / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8652, allocations: 11 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8652, allocations: 0 / 1.156 GB, free: 31.8 MB / 1.076 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.0003186/0.8656, allocations: 275.4 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.8656, allocations: 8.688 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.8657, allocations: 12.81 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.8659, allocations: 119.7 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.8659, allocations: 4.375 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.8659, allocations: 384 / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.866, allocations: 52.44 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.866, allocations: 4 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.866, allocations: 0 / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.866, allocations: 2.781 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.8661, allocations: 23.09 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.8663, allocations: 191.7 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/0.8664, allocations: 41.61 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.8664, allocations: 17.75 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/0.867, allocations: 95.59 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.8671, allocations: 30.56 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.8671, allocations: 0 / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002151/0.8673, allocations: 68.25 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.8673, allocations: 51.41 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.8674, allocations: 115.9 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.8674, allocations: 25.7 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.8674, allocations: 90.38 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.8674, allocations: 3.953 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.8674, allocations: 16.44 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.8675, allocations: 320.7 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.8675, allocations: 9.531 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.8675, allocations: 8.844 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.985e-05/0.8676, allocations: 25.47 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8676, allocations: 7.938 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001022/0.8677, allocations: 61.55 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.8677, allocations: 5.625 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.8677, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.8677, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.8678, allocations: 2.781 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.8678, allocations: 9.984 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.8678, allocations: 0 / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.8678, allocations: 6.797 kB / 1.158 GB, free: 30.29 MB / 1.076 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 4.311e-05/0.8679, allocations: 116.8 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.8679, allocations: 3.953 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.8681, allocations: 61.61 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8681, allocations: 0 / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8681, allocations: 6.422 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.8681, allocations: 0 / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.108e-05/0.8682, allocations: 106.6 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8682, allocations: 3.938 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.8682, allocations: 2.875 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.8682, allocations: 7.031 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.8682, allocations: 4 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8682, allocations: 0 / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8682, allocations: 7.266 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.8683, allocations: 149.8 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-06/0.8683, allocations: 13.72 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.8683, allocations: 0 / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.8684, allocations: 2.75 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.8684, allocations: 0 / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.8684, allocations: 7.219 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.691e-05/0.8685, allocations: 91.34 kB / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8685, allocations: 0 / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002359/0.8687, allocations: 15.19 kB / 1.158 GB, free: 29.74 MB / 1.076 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.0001173/0.8688, allocations: 117.9 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.8689, allocations: 29.66 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.8689, allocations: 0 / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.869, allocations: 11.58 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.8692, allocations: 11.06 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.8694, allocations: 130.2 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.8695, allocations: 63.06 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.8695, allocations: 0 / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.8695, allocations: 14.28 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/0.8695, allocations: 0 / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of Templates: time 0.00282/0.8723, allocations: 0.6721 MB / 1.159 GB, free: 29.32 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.59149779600557]