Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001058/0.001058, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002631, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009566/0.0009566, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002297, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09554/1.135, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.494/2.494, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2461/2.74, allocations: 145.9 MB / 0.817 GB, free: 4.242 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.227e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002107/0.002129, allocations: 1.789 MB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.003962, allocations: 1.824 MB / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.004038, allocations: 0 / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.004223, allocations: 39.7 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.00444, allocations: 103.4 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.0046, allocations: 99.52 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.004764, allocations: 143.5 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.004808, allocations: 14.23 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.005008, allocations: 103.8 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.005122, allocations: 47.81 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.005141, allocations: 11.94 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.005309, allocations: 115.8 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.00535, allocations: 19.94 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.005387, allocations: 23.88 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.005616, allocations: 175.4 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.005631, allocations: 0 / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005631, allocations: 0 / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.005644, allocations: 4 kB / 0.8227 GB, free: 14.4 MB / 0.8073 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.0004838/0.006128, allocations: 387.5 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.006159, allocations: 12.62 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.0063, allocations: 94.03 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.006469, allocations: 158.4 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.006483, allocations: 384 / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.006491, allocations: 4.375 kB / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.006638, allocations: 134.8 kB / 0.8234 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.006647, allocations: 7.938 kB / 0.8234 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.006656, allocations: 4 kB / 0.8234 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.00666, allocations: 3.938 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.0067, allocations: 22.75 kB / 0.8235 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.006866, allocations: 80.41 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.006975, allocations: 90.66 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.007003, allocations: 26.64 kB / 0.8237 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.007015, allocations: 0 / 0.8237 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.007129, allocations: 100.7 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.007131, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.000137/0.007268, allocations: 72.44 kB / 0.8238 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.00731, allocations: 114.8 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.007423, allocations: 182.4 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.00744, allocations: 33.7 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.007469, allocations: 96.11 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.007502, allocations: 27.77 kB / 0.8243 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.007541, allocations: 21.72 kB / 0.8243 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.007613, allocations: 330.8 kB / 0.8246 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.007633, allocations: 14.75 kB / 0.8246 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.007673, allocations: 65.98 kB / 0.8247 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.898e-05/0.007732, allocations: 57 kB / 0.8247 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007735, allocations: 4.031 kB / 0.8247 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.3e-05/0.007828, allocations: 76.44 kB / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.007839, allocations: 4 kB / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.007843, allocations: 0 / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.007852, allocations: 4 kB / 0.8248 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.007937, allocations: 27.86 kB / 0.8248 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.007941, allocations: 3.984 kB / 0.8248 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.007979, allocations: 12.27 kB / 0.8249 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.007986, allocations: 8.078 kB / 0.8249 GB, free: 11.87 MB / 0.8073 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 6.399e-05/0.00805, allocations: 124.6 kB / 0.825 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.008067, allocations: 15.98 kB / 0.825 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.00817, allocations: 83.05 kB / 0.8251 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008172, allocations: 0 / 0.8251 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.008175, allocations: 7.938 kB / 0.8251 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008178, allocations: 0 / 0.8251 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.62e-05/0.008265, allocations: 93.84 kB / 0.8252 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008266, allocations: 0 / 0.8252 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.008311, allocations: 19.92 kB / 0.8252 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.008328, allocations: 19.91 kB / 0.8252 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.00833, allocations: 0 / 0.8252 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.008337, allocations: 4 kB / 0.8252 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008339, allocations: 4 kB / 0.8252 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.008341, allocations: 3.938 kB / 0.8252 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.228e-05/0.008434, allocations: 112.4 kB / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.008454, allocations: 11.98 kB / 0.8253 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.105e-05/0.008485, allocations: 7.984 kB / 0.8253 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.008516, allocations: 11.92 kB / 0.8254 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.008528, allocations: 8 kB / 0.8254 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.008572, allocations: 57.55 kB / 0.8254 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008572, allocations: 0 / 0.8254 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001659/0.008738, allocations: 51.86 kB / 0.8255 GB, free: 11.18 MB / 0.8073 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.001499/0.01024, allocations: 0.7012 MB / 0.8262 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.01034, allocations: 40.78 kB / 0.8262 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.01035, allocations: 7.984 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.01038, allocations: 32.97 kB / 0.8262 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.01053, allocations: 48.02 kB / 0.8263 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.01129, allocations: 265.8 kB / 0.8265 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.01132, allocations: 67.28 kB / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.816e-05/0.01137, allocations: 16.97 kB / 0.8266 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.01146, allocations: 79.34 kB / 0.8267 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.01146, allocations: 0 / 0.8267 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.004349/0.01581, allocations: 2.913 MB / 0.8295 GB, free: 7.332 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4184335162863135]