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.0007895/0.0007895, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001215/0.001215, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8736/0.8736, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9809 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.272e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002/0.002013, allocations: 1.701 MB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.003577, allocations: 1.717 MB / 0.9843 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.003649, allocations: 7.938 kB / 0.9843 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.003901, allocations: 39.7 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.004172, allocations: 119.3 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.004323, allocations: 95.58 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004481, allocations: 139.5 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.004521, allocations: 9.641 kB / 0.9847 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.004675, allocations: 91.67 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.966e-05/0.004775, allocations: 39.83 kB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.004795, allocations: 8 kB / 0.9848 GB, free: 14.6 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.00493, allocations: 115.8 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.004975, allocations: 19.92 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.005016, allocations: 35.84 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.005245, allocations: 215.3 kB / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.005247, allocations: 0 / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005248, allocations: 0 / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.005252, allocations: 0 / 0.9852 GB, free: 14.22 MB / 0.948 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.0006943/0.005947, allocations: 401.1 kB / 0.9856 GB, free: 13.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.005978, allocations: 8.031 kB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.006006, allocations: 30.75 kB / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.006107, allocations: 20.88 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.006299, allocations: 178.8 kB / 0.9858 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.006311, allocations: 4.375 kB / 0.9858 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.006321, allocations: 384 / 0.9858 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.00648, allocations: 131.1 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.006487, allocations: 3.938 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.006496, allocations: 0 / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.0065, allocations: 0 / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.006612, allocations: 59.89 kB / 0.986 GB, free: 13.31 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.00677, allocations: 178.5 kB / 0.9862 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.006948, allocations: 119.7 kB / 0.9863 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/0.007013, allocations: 50.61 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.007028, allocations: 3.938 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.007166, allocations: 113.9 kB / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 7.51e-07/0.007167, allocations: 0 / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002995/0.007466, allocations: 177.4 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.007519, allocations: 132.5 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.007655, allocations: 203.8 kB / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.007668, allocations: 29.7 kB / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.007716, allocations: 104.1 kB / 0.987 GB, free: 12.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.007747, allocations: 27.78 kB / 0.9871 GB, free: 12.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.00778, allocations: 25.7 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.007852, allocations: 327.1 kB / 0.9874 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.007911, allocations: 39.97 kB / 0.9874 GB, free: 11.63 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.007987, allocations: 89.97 kB / 0.9875 GB, free: 11.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.008111, allocations: 99.33 kB / 0.9876 GB, free: 11.41 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.008113, allocations: 0 / 0.9876 GB, free: 11.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001672/0.00828, allocations: 145.7 kB / 0.9878 GB, free: 11.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.00829, allocations: 4 kB / 0.9878 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.008295, allocations: 4.062 kB / 0.9878 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.008307, allocations: 7.984 kB / 0.9878 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.008379, allocations: 19.98 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.008385, allocations: 3.984 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.008428, allocations: 12 kB / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.008434, allocations: 8.094 kB / 0.9878 GB, free: 11.21 MB / 0.948 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 6.957e-05/0.008504, allocations: 125.8 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.008524, allocations: 27.78 kB / 0.988 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.008682, allocations: 119.1 kB / 0.9881 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.008684, allocations: 4 kB / 0.9881 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.008688, allocations: 0 / 0.9881 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008691, allocations: 0 / 0.9881 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.0088, allocations: 176.8 kB / 0.9883 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.008801, allocations: 0 / 0.9883 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.008841, allocations: 23.92 kB / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.008844, allocations: 7.938 kB / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.008851, allocations: 0 / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008852, allocations: 7.938 kB / 0.9883 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008853, allocations: 0 / 0.9883 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.009035, allocations: 182.6 kB / 0.9885 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.009052, allocations: 15.89 kB / 0.9885 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.00907, allocations: 4 kB / 0.9885 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.009107, allocations: 7.984 kB / 0.9885 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.009143, allocations: 15.98 kB / 0.9885 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.009156, allocations: 4 kB / 0.9885 GB, free: 10.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.56e-05/0.009242, allocations: 149.2 kB / 0.9887 GB, free: 10.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009242, allocations: 4 kB / 0.9887 GB, free: 10.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000177/0.009419, allocations: 47.86 kB / 0.9887 GB, free: 10.22 MB / 0.948 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.001066/0.01049, allocations: 1.162 MB / 0.9898 GB, free: 9.246 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.01067, allocations: 87.83 kB / 0.9899 GB, free: 9.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01067, allocations: 4 kB / 0.9899 GB, free: 9.156 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.01074, allocations: 39.97 kB / 0.99 GB, free: 9.117 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.01093, allocations: 31.97 kB / 0.99 GB, free: 9.086 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.01228, allocations: 1.78 MB / 0.9917 GB, free: 7.191 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.875e-05/0.01234, allocations: 93.25 kB / 0.9918 GB, free: 7.082 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.691e-05/0.0124, allocations: 24.62 kB / 0.9918 GB, free: 7.059 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.01246, allocations: 48.47 kB / 0.9919 GB, free: 7.012 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.01246, allocations: 0 / 0.9919 GB, free: 7.012 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.0306, allocations: 5.305 MB / 0.9971 GB, free: 1.777 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.049, allocations: 9.781 kB / 0.9971 GB, free: 1.773 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/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: 11.13811337389052]