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.001407/0.001407, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001472/0.001472, allocations: 216.9 kB / 23 MB, free: 4.969 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.363/3.363, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002066/0.002066, allocations: 66.97 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4252, allocations: 176.1 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003648/0.4288, allocations: 1.695 MB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.4318, allocations: 1.722 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.4319, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.4322, allocations: 39.77 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.4326, allocations: 107.5 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.4329, allocations: 99.66 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.4332, allocations: 143.5 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.405e-05/0.4332, allocations: 9.578 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.4334, allocations: 63.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.4336, allocations: 59.75 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.4336, allocations: 12 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.4338, allocations: 103.9 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.4339, allocations: 31.84 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.434, allocations: 43.8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.4343, allocations: 199.2 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4343, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4344, allocations: 4 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.4344, allocations: 0 / 1.331 GB, free: 12.71 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.0008278/0.4352, allocations: 402.1 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4352, allocations: 12.03 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.4354, allocations: 24.83 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.4358, allocations: 163.1 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.4358, allocations: 4.375 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.4358, allocations: 4.125 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.4361, allocations: 130.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4361, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4362, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4362, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.4364, allocations: 55.95 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.4366, allocations: 159 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.4369, allocations: 115.8 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.437, allocations: 50.61 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.437, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.4373, allocations: 121.8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.4373, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005778/0.4379, allocations: 177.4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.438, allocations: 128.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.4383, allocations: 211.1 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.4383, allocations: 29.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.4384, allocations: 108.4 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.4385, allocations: 19.86 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.4385, allocations: 29.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.4387, allocations: 322.8 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4388, allocations: 31.97 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.439, allocations: 97.91 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.4393, allocations: 99.62 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4393, allocations: 0 / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003375/0.4396, allocations: 149.4 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4396, allocations: 6.031 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4396, allocations: 0 / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.4397, allocations: 4 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.4398, allocations: 24.06 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4398, allocations: 4 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.4399, allocations: 11.89 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4399, allocations: 4 kB / 1.334 GB, free: 9.781 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.0001492/0.44, allocations: 130.3 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.4401, allocations: 19.84 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.4404, allocations: 131 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4404, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4404, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.4405, allocations: 15.91 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.4405, allocations: 8 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.4406, allocations: 7.984 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.4407, allocations: 15.92 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005053/0.4412, allocations: 379.3 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005573/0.4417, allocations: 473.4 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001374/0.4419, allocations: 44.03 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001614/0.442, allocations: 149.3 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of Backend: time 6.51e-07/0.442, allocations: 3.938 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003004/0.445, allocations: 0.6294 MB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of SimCode: time 0.000869/0.4459, allocations: 0.6977 MB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of Templates: time 0.007738/0.4536, allocations: 3.178 MB / 1.34 GB, free: 4.121 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: 9.75673610100057]