Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.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.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7832/0.7832, allocations: 143.8 MB / 159.1 MB, free: 6.449 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.001088/0.001088, allocations: 183.2 kB / 192 MB, free: 6.691 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.439/1.439, allocations: 225.7 MB / 450.4 MB, free: 6.668 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.0008264/0.0008268, allocations: 107.5 kB / 0.5211 GB, free: 3.328 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.001605/0.001605, allocations: 283 kB / 0.6025 GB, free: 49.52 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004105, allocations: 12 kB / 0.6948 GB, free: 2.812 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3487, allocations: 82.45 MB / 0.7753 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006193/0.3494, allocations: 335.7 kB / 0.7756 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002992/0.3497, allocations: 152.2 kB / 0.7758 GB, free: 26.48 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.3497, allocations: 0 / 0.7758 GB, free: 26.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.3498, allocations: 0 / 0.7758 GB, free: 26.48 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.3498, allocations: 7.984 kB / 0.7758 GB, free: 26.47 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.3501, allocations: 35.89 kB / 0.7758 GB, free: 26.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.3501, allocations: 23.98 kB / 0.7758 GB, free: 26.41 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.3502, allocations: 3.281 kB / 0.7759 GB, free: 26.41 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.3502, allocations: 19.98 kB / 0.7759 GB, free: 26.39 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.3504, allocations: 75.84 kB / 0.7759 GB, free: 26.32 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3504, allocations: 0 / 0.7759 GB, free: 26.32 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.3505, allocations: 35.95 kB / 0.776 GB, free: 26.28 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.3505, allocations: 15.94 kB / 0.776 GB, free: 26.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.3506, allocations: 49.56 kB / 0.776 GB, free: 26.21 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.3507, allocations: 67.72 kB / 0.7761 GB, free: 26.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3507, allocations: 4 kB / 0.7761 GB, free: 26.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3507, allocations: 4 kB / 0.7761 GB, free: 26.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3507, allocations: 4 kB / 0.7761 GB, free: 26.13 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000234/0.3509, allocations: 346.2 kB / 0.7764 GB, free: 25.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.351, allocations: 8.031 kB / 0.7765 GB, free: 25.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.351, allocations: 4.938 kB / 0.7765 GB, free: 25.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.576e-05/0.3511, allocations: 172.3 kB / 0.7766 GB, free: 25.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3511, allocations: 384 / 0.7766 GB, free: 25.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.3511, allocations: 4.375 kB / 0.7766 GB, free: 25.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3513, allocations: 183.4 kB / 0.7768 GB, free: 25.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3513, allocations: 0 / 0.7768 GB, free: 25.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3514, allocations: 4 kB / 0.7768 GB, free: 25.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.3514, allocations: 27.92 kB / 0.7768 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.396e-05/0.3515, allocations: 35.91 kB / 0.7769 GB, free: 25.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.3519, allocations: 0.91 MB / 0.7778 GB, free: 24.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.649e-05/0.352, allocations: 169.1 kB / 0.7779 GB, free: 24.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.352, allocations: 80.14 kB / 0.778 GB, free: 24.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.352, allocations: 75.28 kB / 0.7781 GB, free: 23.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.352, allocations: 113.8 kB / 0.7782 GB, free: 23.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.352, allocations: 0 / 0.7782 GB, free: 23.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.401e-05/0.3521, allocations: 37.55 kB / 0.7782 GB, free: 23.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3522, allocations: 391.7 kB / 0.7786 GB, free: 23.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.3523, allocations: 167.3 kB / 0.7787 GB, free: 23.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.3523, allocations: 29.7 kB / 0.7788 GB, free: 23.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.3523, allocations: 147.1 kB / 0.7789 GB, free: 22.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/0.3523, allocations: 7.938 kB / 0.7789 GB, free: 22.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.3524, allocations: 0 / 0.7789 GB, free: 22.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.3524, allocations: 322.8 kB / 0.7792 GB, free: 22.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.3524, allocations: 27.97 kB / 0.7793 GB, free: 22.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3525, allocations: 220.2 kB / 0.7795 GB, free: 22.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3527, allocations: 209.7 kB / 0.7797 GB, free: 22.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3527, allocations: 0 / 0.7797 GB, free: 22.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002217/0.3529, allocations: 193.4 kB / 0.7798 GB, free: 21.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3529, allocations: 4 kB / 0.7799 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3529, allocations: 8 kB / 0.7799 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.353, allocations: 4 kB / 0.7799 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3531, allocations: 43.86 kB / 0.7799 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3531, allocations: 4 kB / 0.7799 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.3532, allocations: 27.83 kB / 0.7799 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3532, allocations: 12 kB / 0.7799 GB, free: 21.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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 7.74e-05/0.3533, allocations: 218.1 kB / 0.7802 GB, free: 21.51 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.3533, allocations: 124.8 kB / 0.7803 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.3533, allocations: 108.9 kB / 0.7804 GB, free: 21.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.3534, allocations: 184.1 kB / 0.7806 GB, free: 21.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/0.3534, allocations: 184.2 kB / 0.7807 GB, free: 20.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/0.3534, allocations: 180.3 kB / 0.7809 GB, free: 20.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.3536, allocations: 421.2 kB / 0.7813 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.3536, allocations: 104.9 kB / 0.7814 GB, free: 20.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.3536, allocations: 112.9 kB / 0.7815 GB, free: 20.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/0.3536, allocations: 176.3 kB / 0.7817 GB, free: 19.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.3537, allocations: 176.3 kB / 0.7818 GB, free: 19.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.328e-05/0.3537, allocations: 188.1 kB / 0.782 GB, free: 19.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.09e-05/0.3537, allocations: 184.3 kB / 0.7822 GB, free: 19.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.516e-05/0.3538, allocations: 315.7 kB / 0.7825 GB, free: 18.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.3538, allocations: 185.9 kB / 0.7827 GB, free: 18.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.3539, allocations: 188.3 kB / 0.7829 GB, free: 18.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.354, allocations: 108.9 kB / 0.783 GB, free: 18.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.354, allocations: 184.2 kB / 0.7831 GB, free: 18.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.354, allocations: 101 kB / 0.7832 GB, free: 18.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.126e-05/0.3541, allocations: 117.1 kB / 0.7833 GB, free: 18.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.3541, allocations: 0 / 0.7833 GB, free: 18.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.3544, allocations: 27.94 kB / 0.7834 GB, free: 17.99 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 (0): * Single equations (assignments): 0 * 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.0001513/0.3545, allocations: 194.5 kB / 0.7836 GB, free: 17.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.3546, allocations: 80.95 kB / 0.7836 GB, free: 17.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3546, allocations: 0 / 0.7836 GB, free: 17.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3547, allocations: 0 / 0.7836 GB, free: 17.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3549, allocations: 0.5303 MB / 0.7842 GB, free: 17.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.3551, allocations: 239.2 kB / 0.7844 GB, free: 16.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.3553, allocations: 0.701 MB / 0.7851 GB, free: 16.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001741/0.3555, allocations: 52.58 kB / 0.7851 GB, free: 16.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.3555, allocations: 15.44 kB / 0.7851 GB, free: 16.12 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3555, allocations: 0 / 0.7851 GB, free: 16.12 MB / 458.7 MB Notification: Performance of Templates: time 0.003394/0.3589, allocations: 1.754 MB / 0.7868 GB, free: 14.38 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)