Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.773/1.773, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 182.8 kB / 393.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007644/0.0007644, allocations: 93.53 kB / 0.7935 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004079, allocations: 12 kB / 0.9224 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5827, allocations: 121.3 MB / 1.041 GB, free: 58.49 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001746/0.5845, allocations: 1.46 MB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.5855, allocations: 0.8477 MB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.5856, allocations: 3.094 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.5856, allocations: 9.188 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.5857, allocations: 16.8 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.5862, allocations: 147.5 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.5863, allocations: 121.3 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.5865, allocations: 47.66 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.5866, allocations: 45.31 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.5867, allocations: 45.89 kB / 1.044 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.5867, allocations: 3.25 kB / 1.044 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.5868, allocations: 38.53 kB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.5868, allocations: 23.92 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.5869, allocations: 71.2 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.5871, allocations: 135.8 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5871, allocations: 0 / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5871, allocations: 1.594 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.5871, allocations: 0 / 1.044 GB, free: 56.48 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004737/0.5876, allocations: 417.3 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5876, allocations: 10.41 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008017/0.5884, allocations: 145.9 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.5886, allocations: 180.4 kB / 1.045 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.5887, allocations: 69.86 kB / 1.045 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5888, allocations: 12.78 kB / 1.045 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.5893, allocations: 198.7 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5893, allocations: 2.859 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.5893, allocations: 4.984 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.5893, allocations: 2.375 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.5899, allocations: 199.5 kB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/0.5909, allocations: 0.4962 MB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.5918, allocations: 268.7 kB / 1.046 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.5921, allocations: 98.55 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.5921, allocations: 1.734 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.5922, allocations: 31.78 kB / 1.046 GB, free: 55.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5922, allocations: 0 / 1.046 GB, free: 55.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0009369/0.5931, allocations: 320.1 kB / 1.046 GB, free: 55.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.5931, allocations: 58.22 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.5932, allocations: 136.9 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.5933, allocations: 25.7 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.5933, allocations: 113.2 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.5933, allocations: 12.14 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.5934, allocations: 4 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.5934, allocations: 326.4 kB / 1.047 GB, free: 54.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.5937, allocations: 83.98 kB / 1.047 GB, free: 54.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.594, allocations: 116 kB / 1.047 GB, free: 54.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.5945, allocations: 204.4 kB / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5945, allocations: 0 / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005892/0.5951, allocations: 236.8 kB / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5951, allocations: 4.844 kB / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5951, allocations: 2.344 kB / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5952, allocations: 7.875 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.5954, allocations: 49.11 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5954, allocations: 0.7812 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.5956, allocations: 38.61 kB / 1.048 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.5956, allocations: 4.266 kB / 1.048 GB, free: 54.21 MB / 0.698 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 7.293e-05/0.5957, allocations: 123.4 kB / 1.048 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.5958, allocations: 8 kB / 1.048 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.5964, allocations: 243.4 kB / 1.048 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5964, allocations: 0 / 1.048 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5964, allocations: 2.891 kB / 1.048 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5964, allocations: 0 / 1.048 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.5967, allocations: 235.5 kB / 1.048 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5967, allocations: 0 / 1.048 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.5969, allocations: 41.27 kB / 1.048 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5969, allocations: 4.938 kB / 1.048 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5969, allocations: 11.16 kB / 1.048 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5969, allocations: 1.406 kB / 1.048 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5969, allocations: 0 / 1.048 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.5975, allocations: 322.6 kB / 1.048 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.5976, allocations: 83.33 kB / 1.049 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.5976, allocations: 5.484 kB / 1.049 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.5979, allocations: 47.41 kB / 1.049 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.5979, allocations: 6.766 kB / 1.049 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.598, allocations: 10.38 kB / 1.049 GB, free: 53.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.51e-05/0.598, allocations: 105.6 kB / 1.049 GB, free: 53.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.598, allocations: 0 / 1.049 GB, free: 53.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002319/0.5983, allocations: 28.81 kB / 1.049 GB, free: 53.39 MB / 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 (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.0001081/0.5984, allocations: 104.7 kB / 1.049 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000597/0.599, allocations: 199.3 kB / 1.049 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.599, allocations: 0.5938 kB / 1.049 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.5993, allocations: 107.5 kB / 1.049 GB, free: 53.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.5996, allocations: 7.781 kB / 1.049 GB, free: 53.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.6001, allocations: 310.7 kB / 1.049 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.6003, allocations: 0.7023 MB / 1.05 GB, free: 52.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.6004, allocations: 16.94 kB / 1.05 GB, free: 52.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.6004, allocations: 12.33 kB / 1.05 GB, free: 52.32 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.6004, allocations: 0 / 1.05 GB, free: 52.32 MB / 0.698 GB Notification: Performance of Templates: time 0.003399/0.6038, allocations: 1.363 MB / 1.051 GB, free: 52.21 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)