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.001762/0.001762, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002104/0.002104, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.605/1.605, 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.43/3.43, allocations: 0.4892 GB / 0.7951 GB, free: 35.41 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.002095/0.002095, allocations: 73.72 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4531, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00412/0.4572, allocations: 1.69 MB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003293/0.4605, allocations: 1.718 MB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.4607, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.461, allocations: 43.7 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.4615, allocations: 107.5 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.4618, allocations: 99.64 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.4621, allocations: 143.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.151e-05/0.4622, allocations: 5.641 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.4625, allocations: 67.72 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.4627, allocations: 55.69 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.4627, allocations: 8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.463, allocations: 103.9 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.4631, allocations: 27.91 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.4632, allocations: 47.67 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.4636, allocations: 199.2 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4637, allocations: 7.938 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4637, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.4637, allocations: 0 / 1.33 GB, free: 13.57 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.0008891/0.4646, allocations: 405.2 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4646, allocations: 8.031 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.4648, allocations: 24.83 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.4652, allocations: 163.1 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4653, allocations: 384 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4653, allocations: 16.12 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.4656, allocations: 122.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4656, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.4656, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4656, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.4658, allocations: 51.89 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.4661, allocations: 159.1 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.4664, allocations: 115.8 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.4666, allocations: 50.61 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.4666, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.4669, allocations: 121.8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.4669, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005666/0.4674, allocations: 173.6 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.4675, allocations: 136.5 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.4678, allocations: 207.2 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.4678, allocations: 25.7 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.4679, allocations: 104.1 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.468, allocations: 19.86 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.468, allocations: 29.7 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.4682, allocations: 322.8 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.4683, allocations: 35.97 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.4685, allocations: 98.03 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.4687, allocations: 91.34 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.4687, allocations: 8.188 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003606/0.4691, allocations: 153.4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4691, allocations: 4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4691, allocations: 4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4691, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4693, allocations: 20.17 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.4693, allocations: 3.984 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.4694, allocations: 19.83 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4694, allocations: 4 kB / 1.333 GB, free: 10.64 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.00015/0.4695, allocations: 132.4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.4696, allocations: 23.91 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.4699, allocations: 119 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.4699, allocations: 7.984 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4699, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4699, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.4701, allocations: 145.3 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4701, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.617e-05/0.4702, allocations: 15.98 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.4702, allocations: 7.938 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.4702, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4702, allocations: 7.938 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4702, allocations: 7.984 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.4706, allocations: 178.6 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.4706, allocations: 23.83 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.4707, allocations: 4 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.4707, allocations: 11.98 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.4708, allocations: 7.984 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.4708, allocations: 8 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001639/0.471, allocations: 149.2 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.471, allocations: 0 / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003226/0.4713, allocations: 51.86 kB / 1.334 GB, free: 9.684 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 (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.002042/0.4733, allocations: 0.5354 MB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.4737, allocations: 91.83 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4737, allocations: 0 / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.4739, allocations: 48.22 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.4742, allocations: 37.45 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/0.4749, allocations: 291.1 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.475, allocations: 97.03 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.4751, allocations: 19.44 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.4751, allocations: 4.062 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of Templates: time 0.006367/0.4814, allocations: 2.647 MB / 1.338 GB, free: 6.094 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.677643442060798]