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.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.693/1.693, allocations: 291.7 MB / 306.8 MB, free: 7.699 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.0009893/0.000989, allocations: 185.5 kB / 375.4 MB, free: 5.121 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.458/1.458, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.0008669/0.0008669, allocations: 102.7 kB / 0.7699 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003986, allocations: 16 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7472, allocations: 118.1 MB / 1.011 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001718/0.7489, allocations: 1.156 MB / 1.012 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006878/0.7496, allocations: 439.2 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.7497, allocations: 1.312 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.7497, allocations: 3.938 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.7498, allocations: 2.031 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.75, allocations: 16.77 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.855e-05/0.75, allocations: 25.14 kB / 1.012 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.7501, allocations: 10.95 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.7502, allocations: 5.438 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.7502, allocations: 13.8 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.7503, allocations: 1.562 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-05/0.7503, allocations: 17.83 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.7503, allocations: 5.875 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.7504, allocations: 32.89 kB / 1.013 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.683e-05/0.7505, allocations: 24.34 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7505, allocations: 0 / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7505, allocations: 1.781 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7505, allocations: 0 / 1.013 GB, free: 57.48 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.0003906/0.7509, allocations: 344.5 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7509, allocations: 8.344 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.751, allocations: 4.844 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.751, allocations: 170.2 kB / 1.013 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.7511, allocations: 6.094 kB / 1.013 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.7511, allocations: 384 / 1.013 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.7513, allocations: 65.47 kB / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7513, allocations: 0 / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.7513, allocations: 0 / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7513, allocations: 0 / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.7515, allocations: 48.5 kB / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.7517, allocations: 254 kB / 1.013 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.7519, allocations: 44.05 kB / 1.014 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.752, allocations: 31.16 kB / 1.014 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.7521, allocations: 84.83 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7521, allocations: 30.56 kB / 1.014 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7521, allocations: 4.438 kB / 1.014 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003403/0.7525, allocations: 99.56 kB / 1.014 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.7525, allocations: 51.41 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.783e-05/0.7526, allocations: 101.5 kB / 1.014 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.7526, allocations: 26.52 kB / 1.014 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.7526, allocations: 88.81 kB / 1.014 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.7526, allocations: 4.406 kB / 1.014 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.7526, allocations: 1.656 kB / 1.014 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.7527, allocations: 312.2 kB / 1.014 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.7528, allocations: 25.39 kB / 1.014 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.7529, allocations: 22.3 kB / 1.014 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.753, allocations: 57.59 kB / 1.014 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.753, allocations: 0 / 1.014 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001698/0.7532, allocations: 84.67 kB / 1.014 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.7532, allocations: 3.688 kB / 1.014 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.7532, allocations: 1.406 kB / 1.014 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.7532, allocations: 2.469 kB / 1.014 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.7533, allocations: 15.34 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.7533, allocations: 2.188 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.7534, allocations: 9.125 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.7534, allocations: 1.875 kB / 1.015 GB, free: 55.79 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 5.103e-05/0.7535, allocations: 114.1 kB / 1.015 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.7535, allocations: 3.906 kB / 1.015 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.7537, allocations: 92.3 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.7537, allocations: 2 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7537, allocations: 0 / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7537, allocations: 2.531 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.7539, allocations: 161.7 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7539, allocations: 2.656 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.7539, allocations: 10.7 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7539, allocations: 4.062 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.7539, allocations: 2.062 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.754, allocations: 0 / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.754, allocations: 0 / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.7542, allocations: 180.6 kB / 1.015 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.7542, allocations: 78.28 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.7542, allocations: 4.625 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.7543, allocations: 13.94 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.7543, allocations: 1.5 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.7543, allocations: 2.469 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.481e-05/0.7544, allocations: 81.09 kB / 1.015 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7544, allocations: 1.5 kB / 1.015 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001933/0.7546, allocations: 5.75 kB / 1.015 GB, free: 55.12 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.0001258/0.7547, allocations: 105.5 kB / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.7549, allocations: 50.12 kB / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7549, allocations: 0.5 kB / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.755, allocations: 28.27 kB / 1.015 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.7553, allocations: 15.34 kB / 1.015 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.7555, allocations: 120.6 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.7557, allocations: 0.6785 MB / 1.016 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.7557, allocations: 2.875 kB / 1.016 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.7557, allocations: 10.69 kB / 1.016 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7557, allocations: 0 / 1.016 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.002253/0.758, allocations: 479.3 kB / 1.017 GB, free: 54.2 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)