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.001338/0.001338, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001478/0.001478, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.383/3.383, allocations: 0.49 GB / 0.7958 GB, free: 33.49 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.002034/0.002034, allocations: 68.67 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4028, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003617/0.4064, allocations: 1.731 MB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003044/0.4095, allocations: 1.8 MB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.4096, allocations: 3.938 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.4099, allocations: 31.77 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.4103, allocations: 111.5 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.4106, allocations: 95.64 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.4108, allocations: 139.5 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.4109, allocations: 9.625 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.4111, allocations: 75.64 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.4113, allocations: 59.75 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.4114, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.4116, allocations: 111.9 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.4117, allocations: 35.83 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.4117, allocations: 39.75 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.4121, allocations: 211.1 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4121, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4121, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.4121, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 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.0007372/0.4128, allocations: 401.2 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4129, allocations: 12.03 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.413, allocations: 24.83 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.4134, allocations: 167.1 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.4134, allocations: 384 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.4134, allocations: 8.125 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.4137, allocations: 112.9 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4137, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4137, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4137, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.4139, allocations: 55.83 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.4142, allocations: 186.5 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.4144, allocations: 107.8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.4146, allocations: 54.55 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.4146, allocations: 4 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.4148, allocations: 109.9 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4148, allocations: 0 / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005064/0.4154, allocations: 165.7 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.4155, allocations: 136.5 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.4157, allocations: 195.2 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.4157, allocations: 25.7 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.4158, allocations: 108.4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.4158, allocations: 27.84 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.4159, allocations: 33.64 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.416, allocations: 318.8 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.4161, allocations: 31.98 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.4163, allocations: 64.33 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.4165, allocations: 99.36 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4165, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003153/0.4168, allocations: 141.5 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4168, allocations: 4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4168, allocations: 4 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4168, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.417, allocations: 23.92 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.417, allocations: 3.984 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.4171, allocations: 15.89 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4171, allocations: 4 kB / 1.334 GB, free: 10.09 MB / 1.029 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.0001227/0.4172, allocations: 135.7 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.4172, allocations: 11.91 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.4175, allocations: 115 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4175, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4175, allocations: 4 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4175, allocations: 192 / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.4177, allocations: 176.6 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4177, allocations: 3.938 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.4178, allocations: 12 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4178, allocations: 7.938 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4178, allocations: 8.109 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4178, allocations: 4 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4178, allocations: 0 / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.4181, allocations: 178.6 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.4182, allocations: 15.91 kB / 1.335 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4182, allocations: 0 / 1.335 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.4183, allocations: 11.98 kB / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.4183, allocations: 7.984 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.4183, allocations: 4 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000138/0.4185, allocations: 145.2 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4185, allocations: 0 / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002931/0.4188, allocations: 51.86 kB / 1.335 GB, free: 9.125 MB / 1.029 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 (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.001803/0.4206, allocations: 0.4971 MB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.4209, allocations: 87.81 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4209, allocations: 0 / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.421, allocations: 39.97 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.4213, allocations: 33.41 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.422, allocations: 287.5 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.4223, allocations: 0.7041 MB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.4224, allocations: 19.44 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4224, allocations: 0 / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of Templates: time 0.005107/0.4275, allocations: 2.587 MB / 1.339 GB, free: 5.012 MB / 1.029 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/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: 12.517121267999755]