Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001363/0.001363, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001485/0.001485, allocations: 157.3 kB / 23.01 MB, free: 4.602 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.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.809/2.809, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_12_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_12_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.002095/0.002095, allocations: 59.91 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7991, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00236/0.8015, allocations: 1.76 MB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.8024, allocations: 0.6898 MB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.8025, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.8025, allocations: 7.875 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.8026, allocations: 25.75 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.8031, allocations: 186 kB / 1.157 GB, free: 31.52 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.8033, allocations: 130 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.8034, allocations: 35.48 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.8035, allocations: 74.38 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.8036, allocations: 40.91 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.8036, allocations: 11.25 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.651e-05/0.8037, allocations: 52.92 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.8037, allocations: 28.38 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.8038, allocations: 52.64 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.804, allocations: 147.8 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.804, allocations: 0 / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.232e-06/0.804, allocations: 0 / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.804, allocations: 4 kB / 1.157 GB, free: 31.27 MB / 1.076 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.0004691/0.8044, allocations: 369.8 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.8045, allocations: 11.41 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009848/0.8054, allocations: 133.1 kB / 1.158 GB, free: 30.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.8056, allocations: 157.8 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.454e-05/0.8057, allocations: 108.9 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.8057, allocations: 13.53 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.8062, allocations: 225.5 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8063, allocations: 0 / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.8063, allocations: 10.88 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8063, allocations: 0 / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.8069, allocations: 159.8 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.8078, allocations: 407.3 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.8088, allocations: 214.1 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.8091, allocations: 79.25 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.8091, allocations: 0 / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.8091, allocations: 37.19 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.8091, allocations: 0 / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0009757/0.8101, allocations: 266.4 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.787e-05/0.8101, allocations: 53.94 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.8102, allocations: 138 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.8102, allocations: 28.52 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.8102, allocations: 121.3 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.8103, allocations: 25.67 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.8103, allocations: 22.38 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.201e-05/0.8103, allocations: 320.9 kB / 1.16 GB, free: 29.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.8106, allocations: 73.73 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.8109, allocations: 93.45 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005672/0.8115, allocations: 165 kB / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8115, allocations: 0 / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000635/0.8121, allocations: 205.3 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.8121, allocations: 6 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8122, allocations: 0 / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8122, allocations: 2.656 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.8124, allocations: 39.84 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8124, allocations: 0 / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.8126, allocations: 36.11 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.8126, allocations: 6.016 kB / 1.16 GB, free: 29.09 MB / 1.076 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 6.366e-05/0.8127, allocations: 117.7 kB / 1.161 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.8127, allocations: 13.92 kB / 1.161 GB, free: 28.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.8134, allocations: 201.7 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8134, allocations: 10.08 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.8134, allocations: 0 / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.8134, allocations: 0 / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.8136, allocations: 149.8 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8136, allocations: 0 / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.8138, allocations: 46.16 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.8138, allocations: 3.938 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.8138, allocations: 3.938 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8138, allocations: 2.781 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8138, allocations: 3.281 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.8145, allocations: 283.5 kB / 1.161 GB, free: 28.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.8145, allocations: 14.39 kB / 1.161 GB, free: 28.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.8145, allocations: 3.938 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.8148, allocations: 27.12 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.8148, allocations: 6.344 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.8148, allocations: 10.31 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.8149, allocations: 109.3 kB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8149, allocations: 0 / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002615/0.8151, allocations: 27.53 kB / 1.161 GB, free: 28.45 MB / 1.076 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 8.757e-05/0.8152, allocations: 97.69 kB / 1.162 GB, free: 28.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006277/0.8159, allocations: 159.3 kB / 1.162 GB, free: 28.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8159, allocations: 128 / 1.162 GB, free: 28.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.8162, allocations: 91.59 kB / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.8164, allocations: 14.56 kB / 1.162 GB, free: 28.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.817, allocations: 256.4 kB / 1.162 GB, free: 28.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.208e-05/0.817, allocations: 96.92 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.82e-05/0.8171, allocations: 15.59 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.8172, allocations: 17.41 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.8172, allocations: 0 / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of Templates: time 0.003665/0.8208, allocations: 1.55 MB / 1.164 GB, free: 27.84 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.410151524003595]