Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.864/1.864, allocations: 291.7 MB / 306.8 MB, free: 7.668 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.0009996/0.0009999, allocations: 191.2 kB / 375.4 MB, free: 5.109 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.441/1.441, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.000846/0.0008462, allocations: 99.67 kB / 0.7699 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005262/0.000526, allocations: 12.78 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.7455, allocations: 118.1 MB / 1.011 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001811/0.7474, allocations: 1.173 MB / 1.012 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009346/0.7483, allocations: 0.5202 MB / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.7484, allocations: 0 / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.7484, allocations: 0 / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.7485, allocations: 9.562 kB / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.7487, allocations: 36.72 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.7488, allocations: 20.8 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.7489, allocations: 9.906 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.749, allocations: 21.8 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.7491, allocations: 8.016 kB / 1.013 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.7491, allocations: 3.031 kB / 1.013 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.7492, allocations: 53.56 kB / 1.013 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.7493, allocations: 0 / 1.013 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.7493, allocations: 36.67 kB / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.7494, allocations: 36.8 kB / 1.013 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7494, allocations: 2.594 kB / 1.013 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7494, allocations: 1.781 kB / 1.013 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.7495, allocations: 0 / 1.013 GB, free: 57.72 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.000384/0.7498, allocations: 352.7 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7499, allocations: 13.56 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.7499, allocations: 7.594 kB / 1.013 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.519e-05/0.75, allocations: 167.6 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.75, allocations: 384 / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.7501, allocations: 5.375 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.7502, allocations: 47.55 kB / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.7502, allocations: 0 / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.7503, allocations: 1.875 kB / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.7503, allocations: 0 / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.7504, allocations: 28.41 kB / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.7507, allocations: 256.3 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.7508, allocations: 36.44 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.7509, allocations: 12.73 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008933/0.7518, allocations: 0.4936 MB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.7518, allocations: 36.78 kB / 1.014 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.7518, allocations: 0.7812 kB / 1.014 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002877/0.7521, allocations: 78.5 kB / 1.014 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.7522, allocations: 53.06 kB / 1.014 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.7522, allocations: 106.8 kB / 1.014 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.7522, allocations: 28.36 kB / 1.014 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.7523, allocations: 84.58 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.7523, allocations: 13.62 kB / 1.015 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.7523, allocations: 0 / 1.015 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.7524, allocations: 315.9 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.7524, allocations: 12.38 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.7525, allocations: 8.188 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.974e-05/0.7526, allocations: 45.81 kB / 1.015 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7526, allocations: 0 / 1.015 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001445/0.7528, allocations: 52.89 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7528, allocations: 8.062 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7528, allocations: 3.531 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7528, allocations: 0 / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.7529, allocations: 10.66 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7529, allocations: 0 / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.753, allocations: 2.875 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.753, allocations: 0 / 1.015 GB, free: 55.63 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.017e-05/0.7531, allocations: 129.6 kB / 1.015 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.7531, allocations: 6.516 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.7533, allocations: 67.92 kB / 1.015 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7533, allocations: 4.688 kB / 1.015 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7533, allocations: 0 / 1.015 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.7533, allocations: 0 / 1.015 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.7535, allocations: 164.7 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7535, allocations: 1.844 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.7536, allocations: 10.19 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.7536, allocations: 0 / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.7536, allocations: 1.031 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7536, allocations: 2.719 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7536, allocations: 5.312 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.7538, allocations: 160.4 kB / 1.016 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.7538, allocations: 82.52 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.7539, allocations: 0 / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.754, allocations: 2.688 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.754, allocations: 5.422 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.754, allocations: 2.594 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.754, allocations: 90.83 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7541, allocations: 0 / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003458/0.7544, allocations: 11.34 kB / 1.016 GB, free: 54.96 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.0001775/0.7546, allocations: 121 kB / 1.016 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.7548, allocations: 26.28 kB / 1.016 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7548, allocations: 3 kB / 1.016 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.7548, allocations: 21.61 kB / 1.016 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.7552, allocations: 3.938 kB / 1.016 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.7554, allocations: 134.2 kB / 1.016 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.7556, allocations: 0.6819 MB / 1.017 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.7556, allocations: 5.562 kB / 1.017 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.7556, allocations: 7.438 kB / 1.017 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.7556, allocations: 0.6562 kB / 1.017 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.002982/0.7586, allocations: 0.6275 MB / 1.017 GB, free: 54.01 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)