Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.798/1.798, allocations: 292.6 MB / 307.8 MB, free: 7.184 MB / 234.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.001054/0.001054, allocations: 189.1 kB / 376.5 MB, free: 4.457 MB / 298.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.349/1.349, allocations: 225.7 MB / 0.655 GB, free: 13.18 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008367/0.0008364, allocations: 95 kB / 0.7711 GB, free: 50.26 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 12 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.5913, allocations: 118.2 MB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002256/0.5936, allocations: 1.169 MB / 1.014 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.595, allocations: 0.5186 MB / 1.014 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.5951, allocations: 0 / 1.014 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.5951, allocations: 2.375 kB / 1.014 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.5952, allocations: 7.766 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.5956, allocations: 34.73 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.5957, allocations: 26.92 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.5958, allocations: 9.641 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.5959, allocations: 14.62 kB / 1.014 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.596, allocations: 18 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.5961, allocations: 0 / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.5962, allocations: 55.52 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.5963, allocations: 0 / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.5963, allocations: 36.48 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.5965, allocations: 41.22 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5965, allocations: 0 / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5966, allocations: 0 / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.5966, allocations: 0.625 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004213/0.597, allocations: 352.6 kB / 1.015 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5971, allocations: 10.38 kB / 1.015 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.5971, allocations: 4.844 kB / 1.015 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.5972, allocations: 174.6 kB / 1.015 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.5973, allocations: 3.188 kB / 1.015 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.5973, allocations: 384 / 1.015 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.5975, allocations: 48.38 kB / 1.015 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5975, allocations: 0 / 1.015 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.5975, allocations: 2.844 kB / 1.015 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5976, allocations: 2.203 kB / 1.015 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.5977, allocations: 27.17 kB / 1.015 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.5981, allocations: 254.5 kB / 1.015 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.5982, allocations: 38.17 kB / 1.015 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.5983, allocations: 18.83 kB / 1.015 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.5994, allocations: 0.4885 MB / 1.016 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.5995, allocations: 36.53 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.5995, allocations: 0 / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003536/0.5998, allocations: 74.62 kB / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.5999, allocations: 55.78 kB / 1.016 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.6, allocations: 110 kB / 1.016 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.6, allocations: 25.7 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.6001, allocations: 87.27 kB / 1.016 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.6001, allocations: 4.656 kB / 1.016 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.6001, allocations: 4.25 kB / 1.016 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.6002, allocations: 318.1 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.6003, allocations: 11.44 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.6003, allocations: 11.27 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.6005, allocations: 35.08 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6005, allocations: 1.219 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.6007, allocations: 63.3 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6008, allocations: 5.875 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6008, allocations: 0 / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6008, allocations: 0.7812 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.6009, allocations: 8.5 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.6009, allocations: 3.188 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.601, allocations: 2.781 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.601, allocations: 1.219 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 6.661e-05/0.6011, allocations: 117.9 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.6012, allocations: 6.406 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.6014, allocations: 69.3 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6014, allocations: 1.312 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6015, allocations: 1.406 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.6015, allocations: 8.688 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.6017, allocations: 167.2 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6017, allocations: 0.625 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.6018, allocations: 6.188 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.6018, allocations: 0.875 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6018, allocations: 3.188 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6018, allocations: 2.125 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6018, allocations: 2.656 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.6021, allocations: 152 kB / 1.017 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.6021, allocations: 86.53 kB / 1.017 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.6021, allocations: 0 / 1.017 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.6023, allocations: 7.344 kB / 1.017 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.6023, allocations: 1.312 kB / 1.017 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.6024, allocations: 6.5 kB / 1.017 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.6024, allocations: 91.41 kB / 1.017 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6024, allocations: 0 / 1.017 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004282/0.6029, allocations: 13.91 kB / 1.017 GB, free: 54.69 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.0001952/0.6031, allocations: 124.8 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.6033, allocations: 29.3 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6033, allocations: 2 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.6034, allocations: 14 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.6038, allocations: 5.375 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.6042, allocations: 133.3 kB / 1.017 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.6043, allocations: 0.685 MB / 1.018 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.6044, allocations: 3.938 kB / 1.018 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.6045, allocations: 12.78 kB / 1.018 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.6045, allocations: 0 / 1.018 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.004297/0.6088, allocations: 0.6261 MB / 1.019 GB, free: 53.74 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)