Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.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.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7398/0.7398, allocations: 143.8 MB / 159.1 MB, free: 6.527 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.001009/0.001009, allocations: 178.5 kB / 192 MB, free: 6.73 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.338/1.338, allocations: 225.7 MB / 450.4 MB, free: 4.945 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.0007983/0.0007983, allocations: 111 kB / 0.5211 GB, free: 1.613 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.00164/0.00164, allocations: 285.5 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005616/0.0005616, allocations: 13.62 kB / 0.6948 GB, free: 59.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 82.45 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.001937/0.135, allocations: 1.372 MB / 0.7767 GB, free: 12.98 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.137, allocations: 1.572 MB / 0.7782 GB, free: 11.37 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.1371, allocations: 3.938 kB / 0.7782 GB, free: 11.36 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1374, allocations: 35.91 kB / 0.7782 GB, free: 11.33 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1376, allocations: 47.77 kB / 0.7783 GB, free: 11.28 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1378, allocations: 107.7 kB / 0.7784 GB, free: 11.18 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.138, allocations: 115.6 kB / 0.7785 GB, free: 11.06 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.138, allocations: 5.125 kB / 0.7785 GB, free: 11.05 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1382, allocations: 59.7 kB / 0.7785 GB, free: 11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007037/0.1389, allocations: 43.78 kB / 0.7786 GB, free: 10.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1389, allocations: 4 kB / 0.7786 GB, free: 10.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.139, allocations: 51.97 kB / 0.7786 GB, free: 10.9 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.1391, allocations: 23.91 kB / 0.7787 GB, free: 10.88 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.1392, allocations: 73.36 kB / 0.7787 GB, free: 10.8 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1394, allocations: 143.8 kB / 0.7789 GB, free: 10.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1394, allocations: 0 / 0.7789 GB, free: 10.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1394, allocations: 0 / 0.7789 GB, free: 10.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1394, allocations: 0 / 0.7789 GB, free: 10.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005303/0.1399, allocations: 426.9 kB / 0.7793 GB, free: 10.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.14, allocations: 12.03 kB / 0.7793 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.14, allocations: 8.844 kB / 0.7793 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1402, allocations: 221.5 kB / 0.7795 GB, free: 9.918 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1403, allocations: 12.31 kB / 0.7795 GB, free: 9.906 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1403, allocations: 4.125 kB / 0.7795 GB, free: 9.902 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1405, allocations: 109 kB / 0.7796 GB, free: 9.777 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1405, allocations: 4 kB / 0.7796 GB, free: 9.773 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1406, allocations: 0 / 0.7796 GB, free: 9.773 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1406, allocations: 4 kB / 0.7796 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1407, allocations: 63.89 kB / 0.7797 GB, free: 9.707 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.141, allocations: 203.5 kB / 0.7799 GB, free: 9.453 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.1412, allocations: 123.7 kB / 0.78 GB, free: 9.305 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1413, allocations: 54.56 kB / 0.7801 GB, free: 9.242 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1414, allocations: 7.984 kB / 0.7801 GB, free: 9.234 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.1416, allocations: 113.9 kB / 0.7802 GB, free: 9.102 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1416, allocations: 0 / 0.7802 GB, free: 9.102 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004456/0.1421, allocations: 173.4 kB / 0.7803 GB, free: 8.926 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.1421, allocations: 132.5 kB / 0.7805 GB, free: 8.766 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1423, allocations: 173.1 kB / 0.7806 GB, free: 8.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1423, allocations: 33.95 kB / 0.7807 GB, free: 8.551 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.1424, allocations: 100.1 kB / 0.7808 GB, free: 8.449 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1424, allocations: 27.64 kB / 0.7808 GB, free: 8.422 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.1424, allocations: 8 kB / 0.7808 GB, free: 8.414 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1426, allocations: 322.8 kB / 0.7811 GB, free: 8.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1427, allocations: 43.91 kB / 0.7811 GB, free: 8.047 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1428, allocations: 68.27 kB / 0.7812 GB, free: 7.965 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.143, allocations: 99.38 kB / 0.7813 GB, free: 7.855 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.143, allocations: 0 / 0.7813 GB, free: 7.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002831/0.1433, allocations: 149.5 kB / 0.7814 GB, free: 7.703 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1433, allocations: 4 kB / 0.7815 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1434, allocations: 0 / 0.7815 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1434, allocations: 4 kB / 0.7815 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1435, allocations: 23.92 kB / 0.7815 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1435, allocations: 4 kB / 0.7815 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.522e-05/0.1436, allocations: 11.91 kB / 0.7815 GB, free: 7.656 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1436, allocations: 7.984 kB / 0.7815 GB, free: 7.648 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001034/0.1437, allocations: 131.7 kB / 0.7816 GB, free: 7.512 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.1437, allocations: 7.906 kB / 0.7816 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.1438, allocations: 17.39 kB / 0.7817 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1438, allocations: 4.188 kB / 0.7817 GB, free: 7.484 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1438, allocations: 0 / 0.7817 GB, free: 7.484 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1438, allocations: 4.25 kB / 0.7817 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.144, allocations: 205.5 kB / 0.7819 GB, free: 7.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.144, allocations: 8 kB / 0.7819 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.1441, allocations: 19.92 kB / 0.7819 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1441, allocations: 4 kB / 0.7819 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1441, allocations: 4 kB / 0.7819 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.1441, allocations: 4 kB / 0.7819 GB, free: 7.191 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1441, allocations: 0 / 0.7819 GB, free: 7.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.1444, allocations: 174.6 kB / 0.7821 GB, free: 6.996 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.1445, allocations: 100.8 kB / 0.7822 GB, free: 6.879 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1445, allocations: 0 / 0.7822 GB, free: 6.879 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1446, allocations: 11.98 kB / 0.7822 GB, free: 6.867 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1446, allocations: 11.94 kB / 0.7822 GB, free: 6.855 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1447, allocations: 11.98 kB / 0.7822 GB, free: 6.844 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1448, allocations: 129 kB / 0.7823 GB, free: 6.719 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1448, allocations: 0 / 0.7823 GB, free: 6.719 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.145, allocations: 35.98 kB / 0.7823 GB, free: 6.684 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009357/0.146, allocations: 0.5111 MB / 0.7828 GB, free: 6.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1462, allocations: 91.88 kB / 0.7829 GB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1462, allocations: 4 kB / 0.7829 GB, free: 6.227 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1464, allocations: 52.09 kB / 0.783 GB, free: 6.176 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1467, allocations: 23.92 kB / 0.783 GB, free: 6.152 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.1471, allocations: 275 kB / 0.7833 GB, free: 5.848 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1474, allocations: 0.7004 MB / 0.784 GB, free: 5.121 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.609e-05/0.1474, allocations: 28.84 kB / 0.784 GB, free: 5.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.1475, allocations: 19.44 kB / 0.784 GB, free: 5.07 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1475, allocations: 0 / 0.784 GB, free: 5.07 MB / 458.7 MB Notification: Performance of Templates: time 0.004427/0.1519, allocations: 1.915 MB / 0.7859 GB, free: 3.176 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)