Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.717/1.717, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001032/0.001032, allocations: 180.1 kB / 393.1 MB, free: 4.062 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.35/1.35, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0007614/0.0007615, allocations: 95.84 kB / 0.7935 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003075, allocations: 12 kB / 0.9224 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5169, allocations: 121.3 MB / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006505/0.5176, allocations: 330.7 kB / 1.041 GB, free: 58.08 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.5188, allocations: 1.148 MB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.5188, allocations: 1.781 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.5188, allocations: 0 / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.519, allocations: 16.53 kB / 1.042 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.375e-06/0.519, allocations: 0 / 1.042 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 2.985e-05/0.5191, allocations: 2.188 kB / 1.042 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.5191, allocations: 7.594 kB / 1.042 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.5191, allocations: 3.938 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.574e-05/0.5192, allocations: 9.547 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-06/0.5192, allocations: 0 / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.5193, allocations: 22.34 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.592e-06/0.5193, allocations: 0 / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.5193, allocations: 26.83 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.114e-05/0.5194, allocations: 21.09 kB / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5194, allocations: 0 / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5194, allocations: 2.594 kB / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.5194, allocations: 0 / 1.042 GB, free: 57.12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001756/0.5196, allocations: 313.3 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5197, allocations: 8.594 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.5197, allocations: 6.125 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.961e-05/0.5198, allocations: 164.3 kB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5198, allocations: 2.25 kB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.5198, allocations: 1.75 kB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.983e-05/0.5199, allocations: 41.39 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5199, allocations: 6.156 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.5199, allocations: 0 / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.52, allocations: 1.219 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.843e-05/0.52, allocations: 6.312 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.5201, allocations: 151.6 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.5203, allocations: 36.77 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.5203, allocations: 10.89 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.5205, allocations: 82.23 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.5205, allocations: 36.64 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.5205, allocations: 2.547 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.003914/0.5244, allocations: 0.5697 MB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.5245, allocations: 57.28 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.554e-05/0.5245, allocations: 89.86 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.5245, allocations: 25.7 kB / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.332e-05/0.5246, allocations: 80.14 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.5246, allocations: 22.81 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.5246, allocations: 0 / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.5247, allocations: 317.4 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.5252, allocations: 83.75 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.5258, allocations: 106.9 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.5268, allocations: 190 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5268, allocations: 1.219 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001153/0.528, allocations: 212.5 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.528, allocations: 10.53 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.528, allocations: 0 / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5281, allocations: 4.547 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.5284, allocations: 47.16 kB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.5285, allocations: 2.875 kB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.5288, allocations: 46.17 kB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.5288, allocations: 0 / 1.045 GB, free: 55.32 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 (5): * Single equations (assignments): 5 * 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 6.709e-05/0.5289, allocations: 115.8 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.5289, allocations: 8.422 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.5301, allocations: 238.4 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5301, allocations: 0 / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5301, allocations: 2.531 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5301, allocations: 0 / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.5314, allocations: 458.4 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5314, allocations: 0 / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.5318, allocations: 48.94 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5318, allocations: 0 / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5318, allocations: 2.469 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5318, allocations: 0 / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5318, allocations: 1.5 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.533, allocations: 313.1 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.533, allocations: 82.3 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.533, allocations: 4 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.5334, allocations: 42.69 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.5334, allocations: 1.125 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5334, allocations: 1.219 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.006e-05/0.5334, allocations: 76.28 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.5334, allocations: 0 / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002363/0.5337, allocations: 14.92 kB / 1.046 GB, free: 54.45 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 (5): * Single equations (assignments): 5 * 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.0001837/0.5339, allocations: 114.9 kB / 1.047 GB, free: 54.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.535, allocations: 190.8 kB / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.535, allocations: 3.938 kB / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.5355, allocations: 85.86 kB / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.5357, allocations: 11.84 kB / 1.047 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009743/0.5367, allocations: 215.7 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.5368, allocations: 0.6726 MB / 1.048 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002218/0.5371, allocations: 30.72 kB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.5371, allocations: 11.94 kB / 1.048 GB, free: 53.47 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.5371, allocations: 0 / 1.048 GB, free: 53.47 MB / 0.698 GB Notification: Performance of Templates: time 0.002404/0.5395, allocations: 0.8053 MB / 1.048 GB, free: 53.38 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)