Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001838/0.001838, allocations: 79.75 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001935/0.001935, allocations: 161.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 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.623/1.623, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.87/2.87, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.748e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003431/0.003458, allocations: 1.717 MB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.006494, allocations: 1.76 MB / 0.7898 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.006574, allocations: 0 / 0.7898 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.006877, allocations: 44.22 kB / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.007256, allocations: 116 kB / 0.7899 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.007523, allocations: 96.48 kB / 0.79 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.007757, allocations: 139.5 kB / 0.7901 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.007801, allocations: 10.28 kB / 0.7902 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.008033, allocations: 75.75 kB / 0.7902 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.008228, allocations: 48.48 kB / 0.7903 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.00827, allocations: 9.656 kB / 0.7903 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.008495, allocations: 111.8 kB / 0.7904 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.008565, allocations: 31.84 kB / 0.7904 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.008624, allocations: 27.92 kB / 0.7904 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.009002, allocations: 215.2 kB / 0.7906 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.009005, allocations: 1.344 kB / 0.7906 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.009007, allocations: 0 / 0.7906 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.009012, allocations: 0 / 0.7906 GB, free: 8.441 MB / 0.7448 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.0007978/0.009809, allocations: 0.4928 MB / 0.7911 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.009849, allocations: 12.03 kB / 0.7911 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.01003, allocations: 24.83 kB / 0.7912 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.01034, allocations: 164.8 kB / 0.7913 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.01036, allocations: 8.359 kB / 0.7913 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.01037, allocations: 384 / 0.7913 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.01064, allocations: 134.6 kB / 0.7915 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01065, allocations: 3.938 kB / 0.7915 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.01066, allocations: 0 / 0.7915 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.01066, allocations: 4 kB / 0.7915 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.01083, allocations: 39.97 kB / 0.7915 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.0111, allocations: 180.7 kB / 0.7917 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.01141, allocations: 125.9 kB / 0.7918 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.01154, allocations: 59.55 kB / 0.7919 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.01157, allocations: 9.172 kB / 0.7919 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/0.01202, allocations: 120.1 kB / 0.792 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/0.01202, allocations: 4.531 kB / 0.792 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005073/0.01253, allocations: 154.6 kB / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.01263, allocations: 128.5 kB / 0.7923 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.01292, allocations: 261.2 kB / 0.7925 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.01295, allocations: 33.7 kB / 0.7925 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01308, allocations: 159.9 kB / 0.7927 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.01313, allocations: 27.83 kB / 0.7927 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.0132, allocations: 27.38 kB / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000298/0.01349, allocations: 0.5088 MB / 0.7932 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.01359, allocations: 19.98 kB / 0.7933 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.01374, allocations: 105 kB / 0.7934 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.01396, allocations: 96.89 kB / 0.7934 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.01396, allocations: 3.984 kB / 0.7935 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003237/0.01429, allocations: 124.3 kB / 0.7936 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.0143, allocations: 4 kB / 0.7936 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.01431, allocations: 3.938 kB / 0.7936 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.01433, allocations: 4 kB / 0.7936 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.01445, allocations: 19.98 kB / 0.7936 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.01446, allocations: 7.938 kB / 0.7936 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.101e-05/0.01454, allocations: 15.86 kB / 0.7936 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01455, allocations: 5.562 kB / 0.7936 GB, free: 5.062 MB / 0.7448 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.0001466/0.0147, allocations: 164.6 kB / 0.7938 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.01475, allocations: 19.91 kB / 0.7938 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.01502, allocations: 115.7 kB / 0.7939 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01503, allocations: 0 / 0.7939 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01503, allocations: 0.5625 kB / 0.7939 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.01504, allocations: 8.812 kB / 0.7939 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.01525, allocations: 168.5 kB / 0.7941 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.01525, allocations: 4.656 kB / 0.7941 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.131e-05/0.01533, allocations: 15.98 kB / 0.7941 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.01534, allocations: 5.281 kB / 0.7941 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01535, allocations: 0 / 0.7941 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.01535, allocations: 3.938 kB / 0.7941 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01536, allocations: 4.781 kB / 0.7941 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.01573, allocations: 185.4 kB / 0.7943 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.01576, allocations: 19.88 kB / 0.7943 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.01579, allocations: 0 / 0.7943 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.01586, allocations: 7.938 kB / 0.7943 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.01593, allocations: 15.97 kB / 0.7943 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.01595, allocations: 4.719 kB / 0.7943 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000188/0.01614, allocations: 196.2 kB / 0.7945 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01614, allocations: 1.031 kB / 0.7945 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002841/0.01642, allocations: 47.88 kB / 0.7946 GB, free: 4.023 MB / 0.7448 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.003384/0.01981, allocations: 0.5338 MB / 0.7951 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003093/0.02012, allocations: 92.16 kB / 0.7952 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02012, allocations: 0.5625 kB / 0.7952 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.02026, allocations: 55.59 kB / 0.7952 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.02057, allocations: 39.59 kB / 0.7953 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.02116, allocations: 263.3 kB / 0.7955 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.02127, allocations: 97.3 kB / 0.7956 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.891e-05/0.02135, allocations: 25.03 kB / 0.7956 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.02141, allocations: 24.48 kB / 0.7957 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.02141, allocations: 0 / 0.7957 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.007079/0.02849, allocations: 2.662 MB / 0.7983 GB, free: 468 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.978632120066322]