Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 185.8 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 59.89 kB / 1.061 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7895/0.7916, allocations: 160.8 MB / 1.218 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003233/0.7948, allocations: 1.706 MB / 1.22 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.7972, allocations: 1.617 MB / 1.222 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.7972, allocations: 7.938 kB / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.7975, allocations: 35.77 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.7978, allocations: 63.64 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.7981, allocations: 115.7 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.7983, allocations: 135.5 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.7983, allocations: 9.312 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.7985, allocations: 63.7 kB / 1.222 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.7987, allocations: 53.81 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.7987, allocations: 8 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.7988, allocations: 55.98 kB / 1.222 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.7989, allocations: 23.92 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.7989, allocations: 43.72 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.7992, allocations: 149.7 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7992, allocations: 4 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7992, allocations: 0 / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.7992, allocations: 0 / 1.222 GB, free: 324 kB / 0.92 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.000714/0.7999, allocations: 454.5 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.8, allocations: 8.031 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.8, allocations: 8.891 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.8003, allocations: 232.1 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.8004, allocations: 4.375 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.8004, allocations: 8.125 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.8006, allocations: 101 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.8006, allocations: 3.938 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8006, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.8006, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.8008, allocations: 55.89 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.8011, allocations: 207.5 kB / 1.223 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.8014, allocations: 111.8 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.8015, allocations: 50.5 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.8015, allocations: 3.984 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.8017, allocations: 117.9 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.8017, allocations: 0 / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000476/0.8022, allocations: 157.5 kB / 1.224 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/0.8023, allocations: 132.5 kB / 1.224 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.8025, allocations: 178.5 kB / 1.224 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.8025, allocations: 29.7 kB / 1.224 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.8026, allocations: 100.1 kB / 1.224 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.8026, allocations: 27.73 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.8027, allocations: 29.7 kB / 1.224 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.8028, allocations: 322.8 kB / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.8029, allocations: 27.98 kB / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.8031, allocations: 68.27 kB / 1.225 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.8033, allocations: 91.59 kB / 1.225 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8033, allocations: 4.031 kB / 1.225 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003071/0.8036, allocations: 145.4 kB / 1.225 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.8036, allocations: 4 kB / 1.225 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.8036, allocations: 4 kB / 1.225 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.8036, allocations: 0 / 1.225 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.8038, allocations: 23.92 kB / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.8038, allocations: 4 kB / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.8039, allocations: 16.03 kB / 1.225 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.8039, allocations: 4 kB / 1.225 GB, free: 13.32 MB / 0.9356 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.0001285/0.804, allocations: 133.7 kB / 1.225 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.804, allocations: 11.94 kB / 1.225 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.8043, allocations: 107 kB / 1.225 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8043, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8043, allocations: 7.984 kB / 1.225 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.8043, allocations: 0 / 1.225 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.8045, allocations: 205.7 kB / 1.226 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8045, allocations: 4 kB / 1.226 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.8046, allocations: 15.94 kB / 1.226 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.8046, allocations: 3.984 kB / 1.226 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.8046, allocations: 4 kB / 1.226 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8046, allocations: 4 kB / 1.226 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8046, allocations: 0 / 1.226 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.8049, allocations: 170.7 kB / 1.226 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.805, allocations: 93.02 kB / 1.226 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.805, allocations: 4 kB / 1.226 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.8051, allocations: 11.98 kB / 1.226 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.8051, allocations: 3.984 kB / 1.226 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.8051, allocations: 4 kB / 1.226 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001368/0.8053, allocations: 144.2 kB / 1.226 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8053, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002501/0.8055, allocations: 27.94 kB / 1.226 GB, free: 12.27 MB / 0.9356 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.001646/0.8072, allocations: 463.2 kB / 1.226 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.8075, allocations: 91.81 kB / 1.226 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8075, allocations: 0 / 1.226 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.8076, allocations: 31.98 kB / 1.227 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.8079, allocations: 40.34 kB / 1.227 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.8084, allocations: 241.3 kB / 1.227 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.8088, allocations: 0.7002 MB / 1.227 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.106e-05/0.8088, allocations: 16.97 kB / 1.227 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.8089, allocations: 27.42 kB / 1.228 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.8089, allocations: 4 kB / 1.228 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Templates: time 0.005562/0.8144, allocations: 2.084 MB / 1.23 GB, free: 8.719 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.332637896761298]