Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001314/0.001314, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00145/0.00145, allocations: 220.4 kB / 23 MB, free: 4.914 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.155/3.155, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_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.002074/0.002074, allocations: 65.88 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3576, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003224/0.3608, allocations: 1.479 MB / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005015/0.3613, allocations: 179.5 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.3614, allocations: 0 / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.3614, allocations: 0 / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.3614, allocations: 3.938 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.3618, allocations: 43.89 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.272e-05/0.3619, allocations: 23.92 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.362, allocations: 4 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.362, allocations: 11.94 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.183e-05/0.3621, allocations: 7.922 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.3621, allocations: 4 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3622, allocations: 35.95 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.3622, allocations: 3.984 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.3622, allocations: 11.94 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.3624, allocations: 39.88 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3624, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3624, allocations: 7.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3624, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 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.0005117/0.3629, allocations: 266.3 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3629, allocations: 11.97 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.363, allocations: 4.938 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.3631, allocations: 114.5 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3631, allocations: 4.375 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3631, allocations: 384 / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3633, allocations: 50.23 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3633, allocations: 4.188 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3633, allocations: 3.938 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3633, allocations: 0 / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.3635, allocations: 31.97 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3639, allocations: 200.5 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.364, allocations: 34.56 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.3641, allocations: 24.91 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.045e-05/0.3642, allocations: 11.92 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.3642, allocations: 34.56 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3642, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003595/0.3646, allocations: 93.5 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3646, allocations: 51.41 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.3647, allocations: 93.86 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3647, allocations: 33.7 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.3648, allocations: 88.25 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.3648, allocations: 3.953 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3648, allocations: 17.72 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.365, allocations: 310.8 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.3651, allocations: 15.98 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.3651, allocations: 19.97 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.3653, allocations: 40.89 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3653, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002034/0.3655, allocations: 73.53 kB / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3655, allocations: 4 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3655, allocations: 0 / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3655, allocations: 3.938 kB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.3656, allocations: 15.98 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.3656, allocations: 0 / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.3657, allocations: 8.031 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3657, allocations: 0 / 1.368 GB, free: 9.961 MB / 1.061 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 8.782e-05/0.3658, allocations: 110.9 kB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.3658, allocations: 11.89 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.366, allocations: 72.91 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.366, allocations: 4 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.366, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.366, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3662, allocations: 109.6 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3662, allocations: 4 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.3662, allocations: 11.98 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.3663, allocations: 3.938 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3663, allocations: 0 / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3663, allocations: 0 / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3663, allocations: 0 / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.3665, allocations: 159.5 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.3665, allocations: 11.97 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.3665, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.3666, allocations: 7.984 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3667, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3667, allocations: 3.938 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.3667, allocations: 83.28 kB / 1.369 GB, free: 9.312 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3667, allocations: 0 / 1.369 GB, free: 9.312 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000227/0.367, allocations: 15.94 kB / 1.369 GB, free: 9.297 MB / 1.061 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.0001803/0.3671, allocations: 111.2 kB / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3674, allocations: 35.97 kB / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.3674, allocations: 0 / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.3675, allocations: 23.97 kB / 1.369 GB, free: 9.117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3678, allocations: 0 / 1.369 GB, free: 9.117 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.3681, allocations: 143.1 kB / 1.369 GB, free: 8.945 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.142e-05/0.3681, allocations: 63.28 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.3682, allocations: 15.56 kB / 1.369 GB, free: 8.848 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3682, allocations: 0 / 1.369 GB, free: 8.848 MB / 1.061 GB Notification: Performance of Templates: time 0.002317/0.3705, allocations: 0.6689 MB / 1.37 GB, free: 8.184 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.739971472881734]