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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 193.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 73.44 kB / 1.109 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3916, allocations: 168.7 MB / 1.274 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003425/0.395, allocations: 1.802 MB / 1.276 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3963, allocations: 0.6596 MB / 1.276 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.3964, allocations: 0 / 1.276 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.3964, allocations: 15.8 kB / 1.276 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.3965, allocations: 19.8 kB / 1.276 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.3971, allocations: 163.3 kB / 1.277 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3973, allocations: 131.6 kB / 1.277 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3975, allocations: 41.08 kB / 1.277 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.3976, allocations: 51.84 kB / 1.277 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3977, allocations: 47.77 kB / 1.277 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.3977, allocations: 12 kB / 1.277 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3978, allocations: 43.97 kB / 1.277 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.3979, allocations: 39.83 kB / 1.277 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.398, allocations: 55.72 kB / 1.277 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.3982, allocations: 159.3 kB / 1.277 GB, free: 8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3982, allocations: 0 / 1.277 GB, free: 8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3982, allocations: 0 / 1.277 GB, free: 8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.3982, allocations: 0 / 1.277 GB, free: 8 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.0007567/0.399, allocations: 438.8 kB / 1.278 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.399, allocations: 8.031 kB / 1.278 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000904/0.3999, allocations: 116.7 kB / 1.278 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.4001, allocations: 180.2 kB / 1.278 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.4002, allocations: 67.89 kB / 1.278 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.4003, allocations: 8.375 kB / 1.278 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.4008, allocations: 173.6 kB / 1.278 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4008, allocations: 0 / 1.278 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.4008, allocations: 8 kB / 1.278 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4009, allocations: 0 / 1.278 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.4015, allocations: 165.8 kB / 1.278 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4027, allocations: 493.9 kB / 1.279 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.4038, allocations: 214.3 kB / 1.279 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.4041, allocations: 80.84 kB / 1.279 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.4042, allocations: 0 / 1.279 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.4042, allocations: 38.56 kB / 1.279 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.4042, allocations: 0 / 1.279 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001084/0.4053, allocations: 265.3 kB / 1.279 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.4053, allocations: 55.41 kB / 1.279 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4055, allocations: 135.9 kB / 1.28 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.4055, allocations: 25.7 kB / 1.28 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.4056, allocations: 120.2 kB / 1.28 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.4056, allocations: 19.86 kB / 1.28 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.4057, allocations: 25.7 kB / 1.28 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4058, allocations: 318.8 kB / 1.28 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.4061, allocations: 71.86 kB / 1.28 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.4065, allocations: 94.5 kB / 1.28 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.4071, allocations: 166.7 kB / 1.28 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4071, allocations: 4 kB / 1.28 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006977/0.4078, allocations: 201.4 kB / 1.281 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4078, allocations: 8.062 kB / 1.281 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4078, allocations: 4 kB / 1.281 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4078, allocations: 3.938 kB / 1.281 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.4081, allocations: 39.89 kB / 1.281 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4081, allocations: 0 / 1.281 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.4083, allocations: 23.91 kB / 1.281 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4083, allocations: 15.86 kB / 1.281 GB, free: 4.238 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.0001244/0.4085, allocations: 122.4 kB / 1.281 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.4085, allocations: 11.91 kB / 1.281 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.4093, allocations: 210.1 kB / 1.281 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4093, allocations: 0 / 1.281 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4093, allocations: 4 kB / 1.281 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4093, allocations: 0 / 1.281 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.4096, allocations: 238.2 kB / 1.281 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4096, allocations: 0 / 1.281 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.4098, allocations: 31.95 kB / 1.281 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4098, allocations: 0 / 1.281 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.4098, allocations: 7.938 kB / 1.281 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4098, allocations: 0 / 1.281 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4098, allocations: 4 kB / 1.281 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007342/0.4106, allocations: 283.3 kB / 1.282 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.4106, allocations: 85.06 kB / 1.282 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.4107, allocations: 12.11 kB / 1.282 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.411, allocations: 35.95 kB / 1.282 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.411, allocations: 4 kB / 1.282 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.411, allocations: 7.984 kB / 1.282 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.637e-05/0.4111, allocations: 105.7 kB / 1.282 GB, free: 3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4111, allocations: 0 / 1.282 GB, free: 3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002646/0.4114, allocations: 27.89 kB / 1.282 GB, free: 2.973 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.0001563/0.4115, allocations: 107.2 kB / 1.282 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007095/0.4122, allocations: 159.8 kB / 1.282 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4122, allocations: 0 / 1.282 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.4126, allocations: 80.05 kB / 1.282 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.4129, allocations: 8 kB / 1.282 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.4136, allocations: 267.2 kB / 1.282 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.4139, allocations: 0.7002 MB / 1.283 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.106e-05/0.414, allocations: 16 kB / 1.283 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.4141, allocations: 15.42 kB / 1.283 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.4141, allocations: 0 / 1.283 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of Templates: time 0.004539/0.4186, allocations: 1.503 MB / 1.285 GB, free: 76 kB / 0.9825 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 -s cvode -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_2/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: 8.823470653034747]