Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8204/0.8204, allocations: 143.8 MB / 159.1 MB, free: 6.492 MB / 122.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.0009998/0.0009998, allocations: 183.3 kB / 192 MB, free: 6.699 MB / 154.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.483/1.483, allocations: 225.7 MB / 450.4 MB, free: 4.934 MB / 330.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.0008003/0.0008003, allocations: 103.5 kB / 0.5211 GB, free: 1.602 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001622/0.001622, allocations: 287.1 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005814/0.0005817, allocations: 14 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.158, allocations: 82.45 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.00191/0.16, allocations: 1.452 MB / 0.7767 GB, free: 12.9 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1611, allocations: 0.8497 MB / 0.7776 GB, free: 11.99 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.1612, allocations: 4 kB / 0.7776 GB, free: 11.99 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.1612, allocations: 15.86 kB / 0.7776 GB, free: 11.97 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.11e-05/0.1613, allocations: 11.86 kB / 0.7776 GB, free: 11.96 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.1618, allocations: 151.7 kB / 0.7777 GB, free: 11.81 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1619, allocations: 119.6 kB / 0.7778 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1621, allocations: 45.36 kB / 0.7779 GB, free: 11.65 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1622, allocations: 47.84 kB / 0.7779 GB, free: 11.61 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.1623, allocations: 39.77 kB / 0.778 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1623, allocations: 7.938 kB / 0.778 GB, free: 11.56 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.292e-05/0.1624, allocations: 43.97 kB / 0.778 GB, free: 11.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.1624, allocations: 23.89 kB / 0.778 GB, free: 11.49 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.1625, allocations: 69.38 kB / 0.7781 GB, free: 11.42 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1627, allocations: 135.5 kB / 0.7782 GB, free: 11.29 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1627, allocations: 0 / 0.7782 GB, free: 11.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1627, allocations: 0 / 0.7782 GB, free: 11.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1627, allocations: 0 / 0.7782 GB, free: 11.29 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005282/0.1633, allocations: 415.2 kB / 0.7786 GB, free: 10.83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1633, allocations: 8.031 kB / 0.7786 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008323/0.1641, allocations: 148.6 kB / 0.7788 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1643, allocations: 194.5 kB / 0.779 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.1644, allocations: 63.97 kB / 0.779 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1644, allocations: 4.375 kB / 0.779 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.1649, allocations: 197.6 kB / 0.7792 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1649, allocations: 0 / 0.7792 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1649, allocations: 4 kB / 0.7792 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.165, allocations: 0 / 0.7792 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.1656, allocations: 199.7 kB / 0.7794 GB, free: 9.977 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1666, allocations: 0.4977 MB / 0.7799 GB, free: 9.426 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009928/0.1676, allocations: 278.2 kB / 0.7802 GB, free: 9.145 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.1679, allocations: 96.91 kB / 0.7803 GB, free: 9.047 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.168, allocations: 7.984 kB / 0.7803 GB, free: 9.039 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.168, allocations: 30.56 kB / 0.7803 GB, free: 9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.168, allocations: 0 / 0.7803 GB, free: 9 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009973/0.169, allocations: 321.4 kB / 0.7806 GB, free: 8.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.169, allocations: 55.41 kB / 0.7807 GB, free: 8.613 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1692, allocations: 133.8 kB / 0.7808 GB, free: 8.473 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1692, allocations: 29.7 kB / 0.7808 GB, free: 8.438 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.1693, allocations: 100.3 kB / 0.7809 GB, free: 8.332 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.1693, allocations: 27.64 kB / 0.7809 GB, free: 8.305 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.1693, allocations: 0 / 0.7809 GB, free: 8.305 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1694, allocations: 318.8 kB / 0.7812 GB, free: 7.984 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1697, allocations: 95.91 kB / 0.7813 GB, free: 7.891 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.17, allocations: 110.5 kB / 0.7814 GB, free: 7.773 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.1706, allocations: 198.4 kB / 0.7816 GB, free: 7.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1706, allocations: 0 / 0.7816 GB, free: 7.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006427/0.1713, allocations: 237.4 kB / 0.7819 GB, free: 7.332 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1713, allocations: 4 kB / 0.7819 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1713, allocations: 3.984 kB / 0.7819 GB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1713, allocations: 8.25 kB / 0.7819 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.1716, allocations: 43.95 kB / 0.7819 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1716, allocations: 0 / 0.7819 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.1718, allocations: 39.97 kB / 0.782 GB, free: 7.234 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1718, allocations: 7.938 kB / 0.782 GB, free: 7.227 MB / 458.7 MB 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 (8): * Single equations (assignments): 8 * 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 0.0001051/0.172, allocations: 134.3 kB / 0.7821 GB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.172, allocations: 7.906 kB / 0.7821 GB, free: 7.078 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.1727, allocations: 246.2 kB / 0.7823 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1727, allocations: 0 / 0.7823 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1727, allocations: 0 / 0.7823 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1727, allocations: 0 / 0.7823 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.173, allocations: 238.3 kB / 0.7826 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.173, allocations: 0 / 0.7826 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.1732, allocations: 43.95 kB / 0.7826 GB, free: 6.508 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1732, allocations: 0 / 0.7826 GB, free: 6.508 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1732, allocations: 3.938 kB / 0.7826 GB, free: 6.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1732, allocations: 4 kB / 0.7826 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1732, allocations: 0 / 0.7826 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.1739, allocations: 319.2 kB / 0.7829 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.1739, allocations: 85.02 kB / 0.783 GB, free: 6.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.174, allocations: 3.938 kB / 0.783 GB, free: 6.066 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.1743, allocations: 47.95 kB / 0.783 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.1743, allocations: 7.984 kB / 0.783 GB, free: 6.012 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1744, allocations: 7.984 kB / 0.7831 GB, free: 6.004 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.173e-05/0.1744, allocations: 106.1 kB / 0.7832 GB, free: 5.902 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1744, allocations: 0 / 0.7832 GB, free: 5.902 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.1747, allocations: 27.94 kB / 0.7832 GB, free: 5.875 MB / 458.7 MB 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 (6): * Single equations (assignments): 6 * 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.0001287/0.1748, allocations: 107.2 kB / 0.7833 GB, free: 5.762 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006179/0.1754, allocations: 199.8 kB / 0.7835 GB, free: 5.566 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1754, allocations: 0 / 0.7835 GB, free: 5.566 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.1758, allocations: 108.2 kB / 0.7836 GB, free: 5.461 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.1761, allocations: 4 kB / 0.7836 GB, free: 5.457 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.1767, allocations: 317.3 kB / 0.7839 GB, free: 5.113 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.177, allocations: 0.7004 MB / 0.7846 GB, free: 4.387 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.887e-05/0.1771, allocations: 16 kB / 0.7846 GB, free: 4.371 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.1771, allocations: 15.42 kB / 0.7846 GB, free: 4.355 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1771, allocations: 0 / 0.7846 GB, free: 4.355 MB / 458.7 MB Notification: Performance of Templates: time 0.003501/0.1807, allocations: 1.36 MB / 0.7859 GB, free: 3.004 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)