Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001841/0.001841, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002/0.002, allocations: 218.3 kB / 23.01 MB, free: 4.609 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.864/2.864, allocations: 476.8 MB / 0.7714 GB, free: 4.273 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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks") [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.002085/0.002085, allocations: 68.41 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3514, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003261/0.3546, allocations: 1.813 MB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.356, allocations: 0.7458 MB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.3561, allocations: 7.938 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.3561, allocations: 7.875 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.3562, allocations: 19.8 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.3568, allocations: 179.9 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.357, allocations: 127.6 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3572, allocations: 45.53 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.3574, allocations: 67.77 kB / 1.288 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.3575, allocations: 47.77 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.3576, allocations: 12 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3577, allocations: 55.95 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.3577, allocations: 27.91 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.3578, allocations: 59.66 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.3581, allocations: 159.3 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3581, allocations: 8 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3581, allocations: 0 / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3581, allocations: 0 / 1.288 GB, free: 7.812 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006647/0.3587, allocations: 371.4 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3588, allocations: 8.031 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009847/0.3598, allocations: 132.7 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.3601, allocations: 153 kB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.3602, allocations: 119.3 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.3602, allocations: 11.94 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.3608, allocations: 169.4 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3608, allocations: 0 / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.3609, allocations: 8 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3609, allocations: 0 / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.3615, allocations: 155.8 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.3627, allocations: 460.8 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.3637, allocations: 218.3 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.364, allocations: 84.89 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.364, allocations: 7.922 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3641, allocations: 38.5 kB / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3641, allocations: 0 / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.00102/0.3651, allocations: 257.4 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3652, allocations: 55.34 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3654, allocations: 142.4 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.3654, allocations: 25.7 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3655, allocations: 116.2 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.3655, allocations: 19.84 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.3656, allocations: 29.7 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3657, allocations: 326.8 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.3661, allocations: 67.92 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.3664, allocations: 98.48 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.367, allocations: 162.4 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.367, allocations: 0 / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006761/0.3677, allocations: 201.4 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3677, allocations: 7.984 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3677, allocations: 8 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3677, allocations: 4 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.368, allocations: 35.95 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.368, allocations: 320 / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.3682, allocations: 31.86 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3682, allocations: 7.984 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001146/0.3683, allocations: 117.8 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.3683, allocations: 19.89 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007891/0.3691, allocations: 198.2 kB / 1.292 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3691, allocations: 4 kB / 1.292 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3691, allocations: 0 / 1.292 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3691, allocations: 0 / 1.292 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.3694, allocations: 213.3 kB / 1.292 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3694, allocations: 0 / 1.292 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3696, allocations: 31.95 kB / 1.292 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3696, allocations: 0 / 1.292 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3697, allocations: 4 kB / 1.292 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3697, allocations: 3.938 kB / 1.292 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3697, allocations: 0 / 1.292 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007877/0.3705, allocations: 291.2 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.3705, allocations: 11.91 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.3705, allocations: 3.984 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.3708, allocations: 35.95 kB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.3708, allocations: 4 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3709, allocations: 7.984 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001039/0.371, allocations: 110.1 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.371, allocations: 0 / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002708/0.3712, allocations: 27.94 kB / 1.292 GB, free: 2.992 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 (6): * Single equations (assignments): 6 * 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.000135/0.3714, allocations: 99.25 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006728/0.372, allocations: 159.7 kB / 1.293 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.372, allocations: 4 kB / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.3724, allocations: 80.05 kB / 1.293 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.3726, allocations: 18.8 kB / 1.293 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007611/0.3734, allocations: 289.4 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3738, allocations: 0.7041 MB / 1.294 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.3738, allocations: 15.42 kB / 1.294 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3738, allocations: 0 / 1.294 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.003675/0.3775, allocations: 1.645 MB / 1.295 GB, free: 15.93 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.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.535016345005715]