Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 161.7 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.874/2.874, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.807e-05, allocations: 5.234 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003024/0.003052, allocations: 1.697 MB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.005818, allocations: 1.73 MB / 0.9848 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.12e-05/0.005909, allocations: 4 kB / 0.9848 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.006209, allocations: 47.58 kB / 0.9848 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.006627, allocations: 111.3 kB / 0.9849 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.006886, allocations: 91.58 kB / 0.985 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.007122, allocations: 147.5 kB / 0.9851 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.007178, allocations: 9.578 kB / 0.9852 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.007394, allocations: 79.75 kB / 0.9852 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.007539, allocations: 43.89 kB / 0.9853 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.007576, allocations: 8 kB / 0.9853 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.007786, allocations: 111.8 kB / 0.9854 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.007855, allocations: 31.83 kB / 0.9854 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.007914, allocations: 27.92 kB / 0.9854 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.008297, allocations: 211.3 kB / 0.9856 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.0083, allocations: 0 / 0.9856 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.283e-06/0.008302, allocations: 0 / 0.9856 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.008306, allocations: 0 / 0.9856 GB, free: 7.629 MB / 0.9356 GB 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.0007298/0.009036, allocations: 401.1 kB / 0.986 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.00907, allocations: 12.03 kB / 0.986 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.009243, allocations: 20.88 kB / 0.9861 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.009564, allocations: 162.4 kB / 0.9862 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.009578, allocations: 4.375 kB / 0.9862 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.009596, allocations: 8.375 kB / 0.9862 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.009887, allocations: 119.3 kB / 0.9863 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.0099, allocations: 7.875 kB / 0.9863 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.009915, allocations: 4 kB / 0.9864 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.009919, allocations: 8 kB / 0.9864 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.01013, allocations: 51.94 kB / 0.9864 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.01038, allocations: 163 kB / 0.9866 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.0107, allocations: 115.7 kB / 0.9867 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.01085, allocations: 50.56 kB / 0.9867 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.01086, allocations: 4 kB / 0.9867 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.01112, allocations: 113.9 kB / 0.9868 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.01112, allocations: 0 / 0.9868 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005559/0.01168, allocations: 173.3 kB / 0.987 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.0118, allocations: 140.5 kB / 0.9871 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.01203, allocations: 195.8 kB / 0.9873 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.01207, allocations: 33.95 kB / 0.9874 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.01214, allocations: 104.1 kB / 0.9875 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.01218, allocations: 27.78 kB / 0.9875 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.01223, allocations: 21.72 kB / 0.9875 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.0124, allocations: 326.8 kB / 0.9878 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.01253, allocations: 35.97 kB / 0.9878 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.01269, allocations: 97.84 kB / 0.9879 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.01296, allocations: 99.42 kB / 0.988 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.01296, allocations: 4 kB / 0.988 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003492/0.01331, allocations: 137.4 kB / 0.9882 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.01333, allocations: 4 kB / 0.9882 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.01335, allocations: 7.938 kB / 0.9882 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01337, allocations: 0 / 0.9882 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.0135, allocations: 24.08 kB / 0.9882 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.01351, allocations: 0 / 0.9882 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.043e-05/0.0136, allocations: 15.94 kB / 0.9882 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.01362, allocations: 8.297 kB / 0.9882 GB, free: 4.699 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.0001263/0.01374, allocations: 131.8 kB / 0.9884 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.01378, allocations: 15.91 kB / 0.9884 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.01408, allocations: 123 kB / 0.9885 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.01409, allocations: 4 kB / 0.9885 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01409, allocations: 0 / 0.9885 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.0141, allocations: 4 kB / 0.9885 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.01428, allocations: 153.2 kB / 0.9886 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01428, allocations: 0 / 0.9886 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.2e-05/0.01437, allocations: 19.92 kB / 0.9887 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01438, allocations: 4 kB / 0.9887 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.01439, allocations: 0 / 0.9887 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.0144, allocations: 3.938 kB / 0.9887 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.0144, allocations: 4.078 kB / 0.9887 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.0148, allocations: 186.6 kB / 0.9888 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.01483, allocations: 15.89 kB / 0.9889 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.01486, allocations: 4 kB / 0.9889 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.01496, allocations: 19.91 kB / 0.9889 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.01501, allocations: 11.98 kB / 0.9889 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.01503, allocations: 4 kB / 0.9889 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001641/0.01519, allocations: 145.5 kB / 0.989 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01519, allocations: 0 / 0.989 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003106/0.0155, allocations: 55.8 kB / 0.9891 GB, free: 3.746 MB / 0.9356 GB 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001979/0.01748, allocations: 0.5348 MB / 0.9896 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.01782, allocations: 95.81 kB / 0.9897 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01783, allocations: 0 / 0.9897 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.01798, allocations: 47.91 kB / 0.9898 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.01828, allocations: 33.92 kB / 0.9898 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.01884, allocations: 259.7 kB / 0.99 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.01895, allocations: 93.3 kB / 0.9901 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.01903, allocations: 25.23 kB / 0.9901 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.01909, allocations: 24.48 kB / 0.9902 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.01909, allocations: 0 / 0.9902 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of Templates: time 0.006802/0.0259, allocations: 2.651 MB / 0.9928 GB, free: 196 kB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.997832030057907]