Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00079/0.00079, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.001892, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007111/0.0007111, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009147/0.001626, allocations: 479.5 kB / 11.83 MB, free: 2.344 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 0.9442/0.9442, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09483/1.039, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.833/1.833, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5172/2.351, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.984e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003267/0.003297, allocations: 1.554 MB / 0.7312 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004173/0.003715, allocations: 193.3 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.003754, allocations: 0 / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.003787, allocations: 0.6562 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.003827, allocations: 5.578 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.004075, allocations: 37.28 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.004187, allocations: 30.47 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.004299, allocations: 4 kB / 0.7314 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.004416, allocations: 17.95 kB / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.004476, allocations: 15.11 kB / 0.7315 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.004498, allocations: 0.875 kB / 0.7315 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.004652, allocations: 39.95 kB / 0.7315 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.004676, allocations: 0.7656 kB / 0.7315 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.004697, allocations: 5.312 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.004877, allocations: 38.2 kB / 0.7315 GB, free: 2.508 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.946e-05/0.004897, allocations: 0 / 0.7315 GB, free: 2.508 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.283e-06/0.004898, allocations: 0 / 0.7315 GB, free: 2.508 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.004919, allocations: 0.5 kB / 0.7316 GB, free: 2.508 MB / 0.698 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.0005334/0.005452, allocations: 245.4 kB / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.005508, allocations: 8.031 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.005559, allocations: 11.2 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.005692, allocations: 105.7 kB / 0.7319 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.005708, allocations: 4.375 kB / 0.7319 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.005727, allocations: 384 / 0.7319 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.005901, allocations: 51.48 kB / 0.732 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.005912, allocations: 1.688 kB / 0.732 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005922, allocations: 4.375 kB / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005928, allocations: 384 / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.546e-05/0.005964, allocations: 16.89 kB / 0.732 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.006277, allocations: 141.3 kB / 0.7321 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.006354, allocations: 26.59 kB / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.006374, allocations: 5.359 kB / 0.7321 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/0.006744, allocations: 67.61 kB / 0.7322 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.00678, allocations: 30.56 kB / 0.7322 GB, free: 1.719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.943e-06/0.006781, allocations: 0 / 0.7322 GB, free: 1.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001946/0.006976, allocations: 43.25 kB / 0.7323 GB, free: 1.672 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.007018, allocations: 55.34 kB / 0.7323 GB, free: 1.605 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.007107, allocations: 104.2 kB / 0.7324 GB, free: 1.492 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.00712, allocations: 27.05 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.007169, allocations: 96.05 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.007193, allocations: 7.953 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.007226, allocations: 9.719 kB / 0.7326 GB, free: 1.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.007357, allocations: 315.5 kB / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.00737, allocations: 0 / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.007383, allocations: 5.125 kB / 0.7329 GB, free: 1.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.00742, allocations: 16.83 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007422, allocations: 0.9375 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.131e-05/0.007513, allocations: 38.42 kB / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.007536, allocations: 7.984 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.007542, allocations: 0 / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.007561, allocations: 0.875 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.007655, allocations: 9.609 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.00766, allocations: 4 kB / 0.7329 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.007684, allocations: 4.562 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.00769, allocations: 0 / 0.733 GB, free: 0.9336 MB / 0.698 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.454e-05/0.007785, allocations: 119.3 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.007808, allocations: 0 / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.007931, allocations: 44.94 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007933, allocations: 2.672 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.007936, allocations: 3.938 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.00794, allocations: 0 / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.008068, allocations: 65.86 kB / 0.7332 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.00807, allocations: 0 / 0.7332 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.008118, allocations: 9.328 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.008124, allocations: 4 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008127, allocations: 0.6562 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.008132, allocations: 1.25 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.008135, allocations: 0 / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.008137, allocations: 3.938 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.008267, allocations: 136.8 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.008279, allocations: 0 / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.008333, allocations: 0.7656 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.008369, allocations: 8.891 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.008373, allocations: 0 / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.38e-05/0.008397, allocations: 20.72 kB / 0.7334 GB, free: 484 kB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008397, allocations: 0.5312 kB / 0.7334 GB, free: 484 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002267/0.008624, allocations: 9.094 kB / 0.7334 GB, free: 476 kB / 0.698 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.0001911/0.008815, allocations: 97.33 kB / 0.7335 GB, free: 368 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.335e-05/0.008888, allocations: 9.703 kB / 0.7335 GB, free: 356 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.008898, allocations: 5.219 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/0.008927, allocations: 13.39 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.009169, allocations: 32.56 kB / 0.7335 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.00967, allocations: 105.4 kB / 0.7336 GB, free: 168 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.724e-05/0.009717, allocations: 60.09 kB / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.009743, allocations: 0 / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.009794, allocations: 52.03 kB / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of SimCode: time 7.21e-07/0.009795, allocations: 1.281 kB / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of Templates: time 0.01077/0.02057, allocations: 0.6526 MB / 0.7344 GB, free: 15.41 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7794353710487485]