Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8337/0.8337, allocations: 143.8 MB / 159.1 MB, free: 6.484 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.001453/0.001453, allocations: 183.3 kB / 192 MB, free: 6.719 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.465/1.465, allocations: 225.7 MB / 450.4 MB, free: 4.992 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.0008191/0.0008191, allocations: 111.5 kB / 0.5211 GB, free: 1.652 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.001895/0.001895, allocations: 283.4 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004303, allocations: 13.34 kB / 0.6948 GB, free: 59.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 82.45 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.0017/0.1545, allocations: 1.298 MB / 0.7766 GB, free: 13.06 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.1553, allocations: 0.5472 MB / 0.7771 GB, free: 12.49 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.1554, allocations: 4 kB / 0.7771 GB, free: 12.49 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 8.756e-05/0.1555, allocations: 7.922 kB / 0.7771 GB, free: 12.48 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.334e-05/0.1555, allocations: 11.88 kB / 0.7771 GB, free: 12.47 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.1557, allocations: 31.95 kB / 0.7772 GB, free: 12.44 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.507e-05/0.1558, allocations: 83.7 kB / 0.7772 GB, free: 12.36 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.156, allocations: 36.5 kB / 0.7773 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.156, allocations: 31.84 kB / 0.7773 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.1561, allocations: 27.8 kB / 0.7773 GB, free: 12.26 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1562, allocations: 4 kB / 0.7773 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.1562, allocations: 7.984 kB / 0.7773 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.1563, allocations: 27.92 kB / 0.7774 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1563, allocations: 57.5 kB / 0.7774 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1565, allocations: 79.62 kB / 0.7775 GB, free: 12.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1565, allocations: 0 / 0.7775 GB, free: 12.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1565, allocations: 0 / 0.7775 GB, free: 12.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1565, allocations: 0 / 0.7775 GB, free: 12.08 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004546/0.1569, allocations: 391.1 kB / 0.7779 GB, free: 11.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.157, allocations: 12.03 kB / 0.7779 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.157, allocations: 8.844 kB / 0.7779 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1572, allocations: 200 kB / 0.7781 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1572, allocations: 4.375 kB / 0.7781 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.1572, allocations: 4.375 kB / 0.7781 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1575, allocations: 117.9 kB / 0.7782 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1575, allocations: 0 / 0.7782 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1575, allocations: 7.984 kB / 0.7782 GB, free: 11.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1575, allocations: 4 kB / 0.7782 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.1578, allocations: 103.9 kB / 0.7783 GB, free: 11.15 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.1583, allocations: 388.5 kB / 0.7787 GB, free: 10.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1585, allocations: 70.55 kB / 0.7788 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1586, allocations: 60.89 kB / 0.7788 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1586, allocations: 0 / 0.7788 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1586, allocations: 34.56 kB / 0.7788 GB, free: 10.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.1587, allocations: 4 kB / 0.7789 GB, free: 10.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004304/0.1591, allocations: 181.7 kB / 0.779 GB, free: 10.35 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1591, allocations: 55.41 kB / 0.7791 GB, free: 10.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.1592, allocations: 137.7 kB / 0.7792 GB, free: 10.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1593, allocations: 29.64 kB / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.1593, allocations: 108.1 kB / 0.7793 GB, free: 9.996 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1593, allocations: 15.72 kB / 0.7794 GB, free: 9.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1594, allocations: 0 / 0.7794 GB, free: 9.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1595, allocations: 318.8 kB / 0.7797 GB, free: 9.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1596, allocations: 51.91 kB / 0.7797 GB, free: 9.609 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.874e-05/0.1597, allocations: 48.03 kB / 0.7798 GB, free: 9.562 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.1599, allocations: 108.8 kB / 0.7799 GB, free: 9.453 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1599, allocations: 0 / 0.7799 GB, free: 9.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000262/0.1602, allocations: 137.5 kB / 0.78 GB, free: 9.312 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1602, allocations: 7.938 kB / 0.78 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1602, allocations: 0 / 0.78 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1602, allocations: 0 / 0.78 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1604, allocations: 31.84 kB / 0.78 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1604, allocations: 0 / 0.78 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.1605, allocations: 8 kB / 0.78 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1605, allocations: 11.98 kB / 0.78 GB, free: 9.254 MB / 458.7 MB 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 (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 prepare postOptimizeDAE: time 7.707e-05/0.1606, allocations: 117.8 kB / 0.7802 GB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1606, allocations: 3.906 kB / 0.7802 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.1609, allocations: 162.3 kB / 0.7803 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.161, allocations: 7.922 kB / 0.7803 GB, free: 8.953 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.161, allocations: 0 / 0.7803 GB, free: 8.953 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.161, allocations: 0 / 0.7803 GB, free: 8.953 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.1612, allocations: 197.6 kB / 0.7805 GB, free: 8.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1612, allocations: 0 / 0.7805 GB, free: 8.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1613, allocations: 23.92 kB / 0.7805 GB, free: 8.688 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1613, allocations: 0 / 0.7805 GB, free: 8.688 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1613, allocations: 7.984 kB / 0.7805 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1613, allocations: 7.938 kB / 0.7806 GB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1614, allocations: 0 / 0.7806 GB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.1617, allocations: 239.6 kB / 0.7808 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.1617, allocations: 85.02 kB / 0.7809 GB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1617, allocations: 0 / 0.7809 GB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.1618, allocations: 19.92 kB / 0.7809 GB, free: 8.301 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.1619, allocations: 0 / 0.7809 GB, free: 8.301 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1619, allocations: 7.984 kB / 0.7809 GB, free: 8.293 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.903e-05/0.162, allocations: 99.27 kB / 0.781 GB, free: 8.195 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.372e-06/0.162, allocations: 0 / 0.781 GB, free: 8.195 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002117/0.1622, allocations: 27.84 kB / 0.781 GB, free: 8.168 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.0001627/0.1624, allocations: 111.2 kB / 0.7811 GB, free: 8.051 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.1627, allocations: 111.9 kB / 0.7812 GB, free: 7.941 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1627, allocations: 4 kB / 0.7812 GB, free: 7.938 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1628, allocations: 59.84 kB / 0.7813 GB, free: 7.879 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.163, allocations: 8 kB / 0.7813 GB, free: 7.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.1635, allocations: 253.1 kB / 0.7815 GB, free: 7.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1638, allocations: 0.7004 MB / 0.7822 GB, free: 6.863 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1639, allocations: 15.97 kB / 0.7822 GB, free: 6.848 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.1639, allocations: 15.44 kB / 0.7822 GB, free: 6.832 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1639, allocations: 4 kB / 0.7822 GB, free: 6.828 MB / 458.7 MB Notification: Performance of Templates: time 0.002456/0.1664, allocations: 0.6058 MB / 0.7828 GB, free: 6.227 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)