Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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.002041/0.002041, allocations: 104.4 kB / 19.71 MB, free: 2.125 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.002529/0.002529, allocations: 213.2 kB / 23 MB, free: 4.945 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.851/1.851, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.919/2.919, allocations: 476 MB / 0.7707 GB, free: 4.926 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") [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.0021/0.0021, allocations: 67.38 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3591, allocations: 169.9 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002853/0.3619, allocations: 1.476 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004861/0.3624, allocations: 179.6 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.3624, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.3625, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.3625, allocations: 7.938 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3628, allocations: 39.89 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.767e-05/0.3629, allocations: 27.86 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.974e-05/0.3629, allocations: 8 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.363, allocations: 8 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.363, allocations: 15.91 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.363, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.3631, allocations: 31.97 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.3631, allocations: 7.984 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.3632, allocations: 7.938 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.3633, allocations: 43.81 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3633, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3633, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.3633, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 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.0004768/0.3638, allocations: 270.3 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3638, allocations: 15.97 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.3639, allocations: 0.9375 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.364, allocations: 118.4 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.364, allocations: 384 / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.364, allocations: 4.375 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3642, allocations: 50.23 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3642, allocations: 4.125 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3642, allocations: 3.938 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3642, allocations: 4 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.3644, allocations: 31.97 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.3647, allocations: 196.6 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3649, allocations: 34.56 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.365, allocations: 20.91 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.977e-05/0.365, allocations: 11.92 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3651, allocations: 38.56 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.3651, allocations: 0 / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003769/0.3655, allocations: 81.58 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3655, allocations: 51.41 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3656, allocations: 101.9 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3656, allocations: 25.7 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.3657, allocations: 88.12 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3657, allocations: 4.078 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.3657, allocations: 17.72 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3659, allocations: 314.8 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.366, allocations: 19.92 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.3661, allocations: 20.22 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3662, allocations: 36.83 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3662, allocations: 4 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001959/0.3664, allocations: 81.55 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3664, allocations: 4 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3664, allocations: 0 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3664, allocations: 0 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.3665, allocations: 11.98 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3665, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.3666, allocations: 4 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3666, allocations: 0 / 1.287 GB, free: 8.293 MB / 0.9825 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 9.828e-05/0.3667, allocations: 121.9 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.3667, allocations: 3.938 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.3669, allocations: 76.91 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3669, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3669, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3669, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3671, allocations: 101.3 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3671, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.3672, allocations: 20.02 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3672, allocations: 7.922 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3672, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3672, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3672, allocations: 3.938 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3674, allocations: 159.5 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.3674, allocations: 7.891 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3675, allocations: 4 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.3675, allocations: 12.02 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.3676, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3676, allocations: 7.938 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.3676, allocations: 79.28 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3676, allocations: 0 / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002315/0.3678, allocations: 15.94 kB / 1.288 GB, free: 7.625 MB / 0.9825 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.0001721/0.368, allocations: 103.2 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3682, allocations: 43.91 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3682, allocations: 0 / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.3683, allocations: 19.97 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3686, allocations: 8.234 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.3689, allocations: 135.1 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.267e-05/0.369, allocations: 63.53 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.369, allocations: 7.438 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.369, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of Templates: time 0.002259/0.3713, allocations: 0.6812 MB / 1.289 GB, free: 6.512 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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: 11.645196976605803]