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.001347/0.001347, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001502/0.001502, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9585/0.9585, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.424/2.424, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.362e-06/1.362e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.869e-05, allocations: 9.062 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002373/0.002392, allocations: 1.743 MB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.003993, allocations: 1.781 MB / 0.8932 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.004067, allocations: 0 / 0.8932 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.004297, allocations: 39.7 kB / 0.8932 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.004554, allocations: 107.3 kB / 0.8933 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.004707, allocations: 103.6 kB / 0.8934 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.00486, allocations: 143.5 kB / 0.8935 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.004896, allocations: 5.641 kB / 0.8935 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.005044, allocations: 95.61 kB / 0.8936 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.005143, allocations: 43.88 kB / 0.8937 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.005161, allocations: 8 kB / 0.8937 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.005283, allocations: 103.9 kB / 0.8938 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.005326, allocations: 27.86 kB / 0.8938 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.00536, allocations: 31.91 kB / 0.8938 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.005567, allocations: 187.3 kB / 0.894 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005569, allocations: 0 / 0.894 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00557, allocations: 4 kB / 0.894 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.005573, allocations: 0 / 0.894 GB, free: 5.332 MB / 0.8542 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.0004541/0.006027, allocations: 0.4916 MB / 0.8945 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.006066, allocations: 8.625 kB / 0.8945 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.006176, allocations: 20.88 kB / 0.8945 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.006331, allocations: 174.2 kB / 0.8947 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.006345, allocations: 4.375 kB / 0.8947 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.006353, allocations: 384 / 0.8947 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.006492, allocations: 131.4 kB / 0.8948 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.0065, allocations: 7.938 kB / 0.8948 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.006507, allocations: 0 / 0.8948 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.006513, allocations: 4 kB / 0.8948 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.00655, allocations: 19.91 kB / 0.8949 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.006678, allocations: 144.7 kB / 0.895 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.006787, allocations: 109.1 kB / 0.8951 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.006818, allocations: 31.19 kB / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.006834, allocations: 7.984 kB / 0.8951 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.898e-05/0.006933, allocations: 108 kB / 0.8952 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.006934, allocations: 0 / 0.8952 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001818/0.007116, allocations: 109.5 kB / 0.8953 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.007162, allocations: 136.5 kB / 0.8955 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.007285, allocations: 238.6 kB / 0.8957 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.007305, allocations: 29.7 kB / 0.8957 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.007355, allocations: 154.8 kB / 0.8959 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.007387, allocations: 27.78 kB / 0.8959 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.00742, allocations: 27.61 kB / 0.8959 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.00753, allocations: 0.5001 MB / 0.8964 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.007548, allocations: 11.98 kB / 0.8964 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.007599, allocations: 84.06 kB / 0.8965 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.139e-05/0.00766, allocations: 66.67 kB / 0.8966 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.007661, allocations: 0 / 0.8966 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001025/0.007764, allocations: 105.8 kB / 0.8967 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.007773, allocations: 8.125 kB / 0.8967 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007778, allocations: 4 kB / 0.8967 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.007789, allocations: 3.938 kB / 0.8967 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.007855, allocations: 19.98 kB / 0.8967 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.007857, allocations: 0 / 0.8967 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.007892, allocations: 4 kB / 0.8967 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.0079, allocations: 8 kB / 0.8967 GB, free: 2.227 MB / 0.8542 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.773e-05/0.007968, allocations: 164.5 kB / 0.8969 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.007989, allocations: 19.91 kB / 0.8969 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.008104, allocations: 99.11 kB / 0.897 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.008107, allocations: 11.94 kB / 0.897 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008109, allocations: 0 / 0.897 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008112, allocations: 0 / 0.897 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.242e-05/0.008204, allocations: 133.1 kB / 0.8971 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008205, allocations: 0 / 0.8971 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.008239, allocations: 12 kB / 0.8971 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008241, allocations: 3.938 kB / 0.8971 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.008249, allocations: 11.98 kB / 0.8972 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.008249, allocations: 0 / 0.8972 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.008252, allocations: 4 kB / 0.8972 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.008375, allocations: 155.6 kB / 0.8973 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.00839, allocations: 15.91 kB / 0.8973 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.008408, allocations: 7.984 kB / 0.8973 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.116e-05/0.008439, allocations: 4 kB / 0.8973 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.00847, allocations: 15.92 kB / 0.8974 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.00848, allocations: 4 kB / 0.8974 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.459e-05/0.008555, allocations: 173 kB / 0.8975 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.008555, allocations: 0 / 0.8975 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001692/0.008724, allocations: 55.86 kB / 0.8976 GB, free: 1.273 MB / 0.8542 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.0009627/0.009687, allocations: 0.4931 MB / 0.8981 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.91e-05/0.009786, allocations: 51.53 kB / 0.8981 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.009787, allocations: 0 / 0.8981 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.009825, allocations: 35.86 kB / 0.8981 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.009997, allocations: 32.31 kB / 0.8982 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.01067, allocations: 263.4 kB / 0.8984 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.0107, allocations: 67.34 kB / 0.8985 GB, free: 468 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.532e-05/0.01075, allocations: 25.22 kB / 0.8985 GB, free: 444 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.01083, allocations: 102.2 kB / 0.8986 GB, free: 340 kB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.01083, allocations: 0 / 0.8986 GB, free: 340 kB / 0.8542 GB Notification: Performance of Templates: time 0.004044/0.01488, allocations: 2.932 MB / 0.9015 GB, free: 13.44 MB / 0.8698 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.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.57759081479162]