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.001267/0.001267, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.001384/0.001384, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.52/1.52, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.063/3.063, allocations: 0.49 GB / 0.7923 GB, free: 1.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003102/0.003102, allocations: 63.91 kB / 1.15 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433/1.436, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002892/1.439, allocations: 1.719 MB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002135/1.441, allocations: 1.711 MB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/1.441, allocations: 2.844 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002611/1.441, allocations: 41.8 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002834/1.441, allocations: 107.7 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/1.442, allocations: 96.69 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/1.442, allocations: 138.9 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/1.442, allocations: 15.66 kB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/1.442, allocations: 68.34 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/1.442, allocations: 57.08 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/1.442, allocations: 6.281 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/1.442, allocations: 116.9 kB / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/1.443, allocations: 21.05 kB / 1.326 GB, free: 22.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/1.443, allocations: 54.27 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/1.443, allocations: 206.1 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.443, allocations: 0 / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.443, allocations: 4 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.11e-06/1.443, allocations: 0 / 1.326 GB, free: 22.2 MB / 1.061 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.0005731/1.443, allocations: 470.5 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/1.443, allocations: 14.2 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/1.444, allocations: 22.92 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/1.444, allocations: 231.4 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/1.444, allocations: 3.125 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/1.444, allocations: 8.125 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/1.444, allocations: 99.19 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/1.444, allocations: 0 / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/1.444, allocations: 2.844 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.444, allocations: 0 / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/1.444, allocations: 60.8 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/1.445, allocations: 208.4 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/1.445, allocations: 112.9 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/1.445, allocations: 54.22 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/1.445, allocations: 2.156 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/1.445, allocations: 119 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/1.445, allocations: 0 / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005404/1.446, allocations: 163.6 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/1.446, allocations: 135 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/1.446, allocations: 190.4 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/1.446, allocations: 34.7 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/1.446, allocations: 104.8 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/1.446, allocations: 27.34 kB / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/1.446, allocations: 21.03 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/1.446, allocations: 328.9 kB / 1.328 GB, free: 20.1 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/1.446, allocations: 28.36 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/1.446, allocations: 72.64 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/1.447, allocations: 91.8 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.447, allocations: 0.5938 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003114/1.447, allocations: 137.9 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.447, allocations: 8.031 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.447, allocations: 0 / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.447, allocations: 2.156 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/1.447, allocations: 19.88 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.447, allocations: 3.938 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/1.447, allocations: 26.42 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/1.447, allocations: 3.312 kB / 1.329 GB, free: 19.89 MB / 1.061 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 9.036e-05/1.447, allocations: 129.5 kB / 1.329 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/1.447, allocations: 18.5 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/1.447, allocations: 18.8 kB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.447, allocations: 1.125 kB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.447, allocations: 1.375 kB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.447, allocations: 1.312 kB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/1.448, allocations: 205.6 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.448, allocations: 5.125 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/1.448, allocations: 13.2 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.448, allocations: 1.75 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/1.448, allocations: 5.625 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.448, allocations: 1.094 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.448, allocations: 5.438 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/1.448, allocations: 175.1 kB / 1.329 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/1.448, allocations: 92.33 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/1.448, allocations: 5.438 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/1.448, allocations: 9 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/1.448, allocations: 6.828 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/1.448, allocations: 7.375 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001306/1.448, allocations: 143.3 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.448, allocations: 4 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000315/1.449, allocations: 46.62 kB / 1.33 GB, free: 19.18 MB / 1.061 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.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.001767/1.45, allocations: 0.4949 MB / 1.33 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003308/1.451, allocations: 83.98 kB / 1.33 GB, free: 18.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.451, allocations: 1.125 kB / 1.33 GB, free: 18.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/1.451, allocations: 41.52 kB / 1.33 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/1.451, allocations: 38.72 kB / 1.33 GB, free: 18.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/1.452, allocations: 280.1 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/1.452, allocations: 0.7128 MB / 1.331 GB, free: 17.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/1.452, allocations: 25.67 kB / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.452, allocations: 0 / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of Templates: time 0.006095/1.458, allocations: 2.578 MB / 1.334 GB, free: 17.67 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 13.3052843859914]