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.001697/0.001697, allocations: 100.4 kB / 19.7 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.003249/0.003249, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.628/1.628, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.948/2.948, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] 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.002149/0.002149, allocations: 59.86 kB / 1.118 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 169.9 MB / 1.284 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003215/0.3263, allocations: 1.763 MB / 1.286 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3276, allocations: 0.6871 MB / 1.286 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.3277, allocations: 4 kB / 1.286 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.38e-05/0.3277, allocations: 11.81 kB / 1.286 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.3278, allocations: 19.78 kB / 1.286 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.3284, allocations: 183.3 kB / 1.286 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.3287, allocations: 135.6 kB / 1.287 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3288, allocations: 33.61 kB / 1.287 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.329, allocations: 71.77 kB / 1.287 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.3291, allocations: 47.75 kB / 1.287 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.3291, allocations: 12 kB / 1.287 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3292, allocations: 47.97 kB / 1.287 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.3293, allocations: 31.89 kB / 1.287 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.3293, allocations: 43.8 kB / 1.287 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.3296, allocations: 163.3 kB / 1.287 GB, free: 440 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3296, allocations: 0 / 1.287 GB, free: 440 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3296, allocations: 3.938 kB / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3296, allocations: 0 / 1.287 GB, free: 436 kB / 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.0006588/0.3302, allocations: 373.7 kB / 1.287 GB, free: 32 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3303, allocations: 8.031 kB / 1.287 GB, free: 24 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/0.3313, allocations: 124.7 kB / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.3316, allocations: 154.8 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.3317, allocations: 119.4 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.3317, allocations: 15.88 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000589/0.3323, allocations: 222.9 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3323, allocations: 0 / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.3324, allocations: 4 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3324, allocations: 4 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/0.333, allocations: 159.8 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3341, allocations: 405.4 kB / 1.288 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.3351, allocations: 214.3 kB / 1.289 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.3354, allocations: 80.91 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.3355, allocations: 7.938 kB / 1.289 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3355, allocations: 30.56 kB / 1.289 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3355, allocations: 0 / 1.289 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.00105/0.3365, allocations: 265.3 kB / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3366, allocations: 55.41 kB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3367, allocations: 145.6 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3368, allocations: 25.7 kB / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.3369, allocations: 108.3 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.3369, allocations: 23.8 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.3369, allocations: 29.7 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3371, allocations: 322.8 kB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.3374, allocations: 75.92 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.3377, allocations: 98.42 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.3383, allocations: 154.4 kB / 1.29 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3383, allocations: 256 / 1.29 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007103/0.339, allocations: 217.4 kB / 1.29 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3391, allocations: 4 kB / 1.29 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.3391, allocations: 0 / 1.29 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3391, allocations: 4 kB / 1.29 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.3394, allocations: 35.89 kB / 1.29 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3394, allocations: 4 kB / 1.29 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.3396, allocations: 24.03 kB / 1.29 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3396, allocations: 7.984 kB / 1.29 GB, free: 12.75 MB / 0.9981 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.0001188/0.3397, allocations: 121.8 kB / 1.29 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.3397, allocations: 15.84 kB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007723/0.3405, allocations: 206.2 kB / 1.291 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3405, allocations: 0 / 1.291 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3405, allocations: 0 / 1.291 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3405, allocations: 4 kB / 1.291 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.3408, allocations: 158 kB / 1.291 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3408, allocations: 0 / 1.291 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.341, allocations: 35.94 kB / 1.291 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.341, allocations: 7.938 kB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.341, allocations: 0 / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.341, allocations: 4 kB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.341, allocations: 0 / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.3418, allocations: 283.3 kB / 1.291 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.3418, allocations: 11.91 kB / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.3418, allocations: 11.94 kB / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.3421, allocations: 31.89 kB / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.3422, allocations: 8.172 kB / 1.291 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3422, allocations: 7.984 kB / 1.291 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.052e-05/0.3423, allocations: 111.3 kB / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3423, allocations: 0 / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000273/0.3426, allocations: 27.88 kB / 1.291 GB, free: 11.67 MB / 0.9981 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.000154/0.3427, allocations: 99.23 kB / 1.291 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007118/0.3434, allocations: 163.8 kB / 1.292 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3434, allocations: 0 / 1.292 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.3437, allocations: 80.05 kB / 1.292 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.344, allocations: 11.94 kB / 1.292 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.3449, allocations: 281.4 kB / 1.292 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.345, allocations: 99.56 kB / 1.292 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.345, allocations: 15.42 kB / 1.292 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of SimCode: time 4.4e-07/0.345, allocations: 0 / 1.292 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of Templates: time 0.003628/0.3487, allocations: 1.676 MB / 1.294 GB, free: 9.199 MB / 0.9981 GB " [Timeout remaining time 300] 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.391207317821681]