Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.227/1.227, allocations: 255.9 MB / 271.2 MB, free: 8.867 MB / 218.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.001016/0.001016, allocations: 182.1 kB / 330.8 MB, free: 464 kB / 250.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.32/1.32, allocations: 225.7 MB / 0.6016 GB, free: 48 kB / 426.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.0007669/0.0007669, allocations: 107.5 kB / 0.709 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 10.03 kB / 0.8261 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 109.2 MB / 0.9327 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001125/0.1513, allocations: 1.162 MB / 0.9339 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005307/0.1518, allocations: 0.5013 MB / 0.9344 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.1518, allocations: 4 kB / 0.9344 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.1519, allocations: 0 / 0.9344 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.1519, allocations: 3.938 kB / 0.9344 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.1521, allocations: 23.92 kB / 0.9344 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.1521, allocations: 27.92 kB / 0.9344 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.776e-05/0.1522, allocations: 7.984 kB / 0.9344 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.1522, allocations: 11.92 kB / 0.9344 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.1523, allocations: 7.938 kB / 0.9345 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.1523, allocations: 4 kB / 0.9345 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.202e-05/0.1524, allocations: 15.98 kB / 0.9345 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1524, allocations: 3.984 kB / 0.9345 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1524, allocations: 41.58 kB / 0.9345 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.471e-05/0.1525, allocations: 35.88 kB / 0.9346 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1525, allocations: 0 / 0.9346 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1525, allocations: 0 / 0.9346 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.604e-06/0.1525, allocations: 0 / 0.9346 GB, free: 22.24 MB / 0.5886 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.0003113/0.1528, allocations: 343.8 kB / 0.9349 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.1529, allocations: 15.98 kB / 0.9349 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.1529, allocations: 4.844 kB / 0.9349 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.06e-05/0.1529, allocations: 168.4 kB / 0.9351 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.153, allocations: 4.375 kB / 0.9351 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.153, allocations: 384 / 0.9351 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1531, allocations: 57.98 kB / 0.9351 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1531, allocations: 0 / 0.9351 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.1532, allocations: 0 / 0.9351 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1532, allocations: 0 / 0.9351 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1533, allocations: 55.89 kB / 0.9352 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.1535, allocations: 244.9 kB / 0.9354 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.1536, allocations: 46.55 kB / 0.9355 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.1537, allocations: 28.91 kB / 0.9355 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-05/0.1538, allocations: 81.11 kB / 0.9356 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.1538, allocations: 30.56 kB / 0.9356 GB, free: 21 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1538, allocations: 0 / 0.9356 GB, free: 21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002977/0.1541, allocations: 105.5 kB / 0.9357 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.505e-05/0.1542, allocations: 55.41 kB / 0.9357 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.233e-05/0.1542, allocations: 106 kB / 0.9358 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.1542, allocations: 25.7 kB / 0.9359 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.029e-05/0.1543, allocations: 88.14 kB / 0.9359 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.1543, allocations: 3.906 kB / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.1543, allocations: 0 / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.1543, allocations: 314.8 kB / 0.9363 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.1544, allocations: 27.98 kB / 0.9363 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.1545, allocations: 15.98 kB / 0.9363 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1546, allocations: 60.75 kB / 0.9364 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1546, allocations: 0 / 0.9364 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001569/0.1548, allocations: 85.55 kB / 0.9364 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.1548, allocations: 4 kB / 0.9364 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1548, allocations: 0 / 0.9364 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1548, allocations: 4.031 kB / 0.9364 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.1549, allocations: 11.98 kB / 0.9365 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1549, allocations: 0 / 0.9365 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.155, allocations: 15.92 kB / 0.9365 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.155, allocations: 3.984 kB / 0.9365 GB, free: 20.04 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.155, allocations: 114.4 kB / 0.9366 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.155, allocations: 0 / 0.9366 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.1552, allocations: 88.72 kB / 0.9367 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1553, allocations: 0 / 0.9367 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.1553, allocations: 0 / 0.9367 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1553, allocations: 3.984 kB / 0.9367 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.292e-05/0.1554, allocations: 165.6 kB / 0.9368 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1554, allocations: 0 / 0.9368 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.1554, allocations: 11.98 kB / 0.9368 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1554, allocations: 0 / 0.9368 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-06/0.1554, allocations: 0 / 0.9368 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1554, allocations: 0 / 0.9368 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1555, allocations: 0 / 0.9368 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1556, allocations: 187.3 kB / 0.937 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.1557, allocations: 77.36 kB / 0.9371 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.1557, allocations: 0 / 0.9371 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.1557, allocations: 15.98 kB / 0.9371 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.1558, allocations: 4.031 kB / 0.9371 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1558, allocations: 0 / 0.9371 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.942e-05/0.1558, allocations: 87.27 kB / 0.9372 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1558, allocations: 0 / 0.9372 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001856/0.156, allocations: 8 kB / 0.9372 GB, free: 19.19 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.35e-05/0.1561, allocations: 107.2 kB / 0.9373 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1563, allocations: 51.95 kB / 0.9374 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1563, allocations: 0 / 0.9374 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.1564, allocations: 27.92 kB / 0.9374 GB, free: 19 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.1566, allocations: 7.938 kB / 0.9374 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001868/0.1568, allocations: 124.8 kB / 0.9375 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.617e-05/0.1569, allocations: 0.677 MB / 0.9382 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.1569, allocations: 0 / 0.9382 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.1569, allocations: 7.438 kB / 0.9382 GB, free: 18.13 MB / 0.5886 GB Notification: Performance of SimCode: time 2.8e-07/0.1569, allocations: 3.938 kB / 0.9382 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of Templates: time 0.001809/0.1587, allocations: 493.9 kB / 0.9386 GB, free: 17.65 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)