Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01056/0.01056, allocations: 222.3 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001099/0.001099, allocations: 176.5 kB / 16.06 MB, free: 5.836 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.658/3.658, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.146/4.146, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004979, allocations: 12 kB / 1.008 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5006, allocations: 98.71 MB / 1.104 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001625/0.5022, allocations: 1.439 MB / 1.105 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000954/0.5032, allocations: 0.6175 MB / 1.106 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.5033, allocations: 0 / 1.106 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.5033, allocations: 7.922 kB / 1.106 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.5034, allocations: 12.78 kB / 1.106 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.504, allocations: 152.8 kB / 1.106 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.5041, allocations: 99.69 kB / 1.106 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.5043, allocations: 41.83 kB / 1.106 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.5044, allocations: 44.41 kB / 1.106 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.5045, allocations: 43.7 kB / 1.106 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.5045, allocations: 4.844 kB / 1.106 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.5046, allocations: 39.95 kB / 1.106 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.5047, allocations: 20.55 kB / 1.106 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.5047, allocations: 42.14 kB / 1.107 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.5049, allocations: 89.08 kB / 1.107 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.28e-06/0.5049, allocations: 1.094 kB / 1.107 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.436e-06/0.5049, allocations: 0 / 1.107 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.572e-06/0.5049, allocations: 0 / 1.107 GB, free: 8.078 MB / 0.5105 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.0004783/0.5054, allocations: 418.3 kB / 1.107 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5054, allocations: 16.02 kB / 1.107 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009015/0.5063, allocations: 144.8 kB / 1.107 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.5064, allocations: 171.6 kB / 1.107 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.496e-05/0.5066, allocations: 73.42 kB / 1.107 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.5066, allocations: 8 kB / 1.107 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.5072, allocations: 185.6 kB / 1.108 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5072, allocations: 0 / 1.108 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.5072, allocations: 3.953 kB / 1.108 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.477e-06/0.5073, allocations: 6.406 kB / 1.108 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.508, allocations: 188.3 kB / 1.108 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.5091, allocations: 0.5209 MB / 1.108 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.5103, allocations: 270.3 kB / 1.109 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.5107, allocations: 100.8 kB / 1.109 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.5107, allocations: 4 kB / 1.109 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.5107, allocations: 34.56 kB / 1.109 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 2.457e-06/0.5108, allocations: 0 / 1.109 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001202/0.512, allocations: 313.7 kB / 1.109 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.512, allocations: 51.41 kB / 1.109 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.5121, allocations: 147.4 kB / 1.109 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.5122, allocations: 29.7 kB / 1.109 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.5122, allocations: 112.2 kB / 1.109 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.5123, allocations: 19.7 kB / 1.109 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.5123, allocations: 0 / 1.109 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.5123, allocations: 322.8 kB / 1.11 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.5127, allocations: 95.86 kB / 1.11 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.5131, allocations: 114.5 kB / 1.11 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.5134, allocations: 87.94 kB / 1.11 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5134, allocations: 0 / 1.11 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007921/0.5142, allocations: 237.4 kB / 1.11 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5143, allocations: 7.594 kB / 1.11 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.871e-06/0.5143, allocations: 4 kB / 1.11 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5143, allocations: 0 / 1.11 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.5146, allocations: 47.95 kB / 1.11 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.331e-06/0.5147, allocations: 3.953 kB / 1.11 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.5149, allocations: 39.89 kB / 1.11 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.5149, allocations: 4 kB / 1.11 GB, free: 4.152 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.515, allocations: 117.8 kB / 1.11 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.5151, allocations: 11.91 kB / 1.11 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008328/0.516, allocations: 234.2 kB / 1.111 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-06/0.516, allocations: 0 / 1.111 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-06/0.516, allocations: 4 kB / 1.111 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.185e-06/0.516, allocations: 11.88 kB / 1.111 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.5163, allocations: 238.2 kB / 1.111 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-06/0.5163, allocations: 4 kB / 1.111 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.5166, allocations: 39.89 kB / 1.111 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.384e-06/0.5166, allocations: 4 kB / 1.111 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.5166, allocations: 3.984 kB / 1.111 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.992e-06/0.5166, allocations: 4 kB / 1.111 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.982e-06/0.5166, allocations: 0 / 1.111 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007744/0.5174, allocations: 319.4 kB / 1.111 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.5175, allocations: 89 kB / 1.111 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.5175, allocations: 8.062 kB / 1.111 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.5179, allocations: 47.89 kB / 1.111 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.5179, allocations: 3.984 kB / 1.111 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.518, allocations: 11.98 kB / 1.111 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.518, allocations: 110.7 kB / 1.111 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/0.518, allocations: 0 / 1.111 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003572/0.5184, allocations: 27.94 kB / 1.111 GB, free: 2.785 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001072/0.5185, allocations: 103.2 kB / 1.112 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007827/0.5193, allocations: 199.8 kB / 1.112 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.131e-06/0.5193, allocations: 0 / 1.112 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.5197, allocations: 104 kB / 1.112 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.5201, allocations: 8 kB / 1.112 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.5208, allocations: 301.4 kB / 1.112 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.521, allocations: 0.7082 MB / 1.113 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.5211, allocations: 20.11 kB / 1.113 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.5212, allocations: 11.44 kB / 1.113 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of SimCode: time 1.418e-06/0.5212, allocations: 0 / 1.113 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of Templates: time 0.004115/0.5253, allocations: 1.305 MB / 1.114 GB, free: 15.99 MB / 0.5261 GB