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.001385/0.001385, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.000958/0.000958, allocations: 167.9 kB / 24.86 MB, free: 8.852 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.9427/0.9427, allocations: 177.2 MB / 205.3 MB, free: 5.141 MB / 186.7 MB " [Timeout remaining time 179] 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 1.786/1.786, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|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.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.552e-05, allocations: 4.219 kB / 0.7883 GB, free: 12.24 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.005719/0.005744, allocations: 1.738 MB / 0.79 GB, free: 10.51 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.004161/0.009905, allocations: 1.774 MB / 0.7917 GB, free: 8.73 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.01, allocations: 0 / 0.7917 GB, free: 8.73 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.0103, allocations: 43.7 kB / 0.7918 GB, free: 8.688 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.01063, allocations: 108.2 kB / 0.7919 GB, free: 8.582 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.01085, allocations: 102.6 kB / 0.792 GB, free: 8.484 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.01104, allocations: 143.5 kB / 0.7921 GB, free: 8.344 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.01108, allocations: 5.641 kB / 0.7921 GB, free: 8.336 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.01128, allocations: 79.69 kB / 0.7922 GB, free: 8.258 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.01141, allocations: 51.81 kB / 0.7922 GB, free: 8.207 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.01143, allocations: 8 kB / 0.7922 GB, free: 8.199 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.0116, allocations: 103.9 kB / 0.7923 GB, free: 8.098 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.01165, allocations: 29.03 kB / 0.7924 GB, free: 8.07 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.0117, allocations: 31.86 kB / 0.7924 GB, free: 8.039 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.01196, allocations: 187.3 kB / 0.7926 GB, free: 7.855 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01197, allocations: 4.594 kB / 0.7926 GB, free: 7.852 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.163e-06/0.01197, allocations: 0 / 0.7926 GB, free: 7.852 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.01197, allocations: 1.188 kB / 0.7926 GB, free: 7.852 MB / 0.7449 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.0005092/0.01248, allocations: 499.4 kB / 0.7931 GB, free: 7.328 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.01251, allocations: 8.031 kB / 0.7931 GB, free: 7.32 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.01265, allocations: 22.38 kB / 0.7931 GB, free: 7.301 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.01282, allocations: 169.1 kB / 0.7933 GB, free: 7.105 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.01283, allocations: 384 / 0.7933 GB, free: 7.105 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.01284, allocations: 5.844 kB / 0.7933 GB, free: 7.102 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.01299, allocations: 147.3 kB / 0.7934 GB, free: 6.926 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.013, allocations: 7.875 kB / 0.7934 GB, free: 6.918 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.01301, allocations: 2.219 kB / 0.7934 GB, free: 6.918 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.01301, allocations: 0 / 0.7934 GB, free: 6.918 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.01306, allocations: 19.98 kB / 0.7934 GB, free: 6.898 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.01318, allocations: 132.7 kB / 0.7936 GB, free: 6.734 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.0133, allocations: 109.8 kB / 0.7937 GB, free: 6.59 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.01333, allocations: 39.83 kB / 0.7937 GB, free: 6.539 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.01334, allocations: 4 kB / 0.7937 GB, free: 6.535 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.01352, allocations: 100.6 kB / 0.7938 GB, free: 6.41 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.01353, allocations: 1.594 kB / 0.7938 GB, free: 6.41 MB / 0.7449 GB Notification: Performance of matching and sorting (n=8): time 0.0001982/0.01372, allocations: 121.4 kB / 0.7939 GB, free: 6.285 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.01377, allocations: 129.1 kB / 0.794 GB, free: 6.129 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01389, allocations: 234.6 kB / 0.7943 GB, free: 5.883 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.0139, allocations: 30.52 kB / 0.7943 GB, free: 5.848 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.01395, allocations: 150.8 kB / 0.7944 GB, free: 5.695 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.01398, allocations: 32.33 kB / 0.7945 GB, free: 5.664 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.01402, allocations: 27.97 kB / 0.7945 GB, free: 5.629 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01412, allocations: 0.5001 MB / 0.795 GB, free: 5.117 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.01414, allocations: 8.688 kB / 0.795 GB, free: 5.109 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.01419, allocations: 97.36 kB / 0.7951 GB, free: 4.988 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.01425, allocations: 60.61 kB / 0.7951 GB, free: 4.914 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01426, allocations: 4 kB / 0.7951 GB, free: 4.91 MB / 0.7449 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001061/0.01436, allocations: 93.53 kB / 0.7952 GB, free: 4.812 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.01437, allocations: 7.156 kB / 0.7952 GB, free: 4.809 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.01438, allocations: 0 / 0.7952 GB, free: 4.809 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.01439, allocations: 7.938 kB / 0.7952 GB, free: 4.801 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.01446, allocations: 16.73 kB / 0.7953 GB, free: 4.785 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.01446, allocations: 7.938 kB / 0.7953 GB, free: 4.777 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.0145, allocations: 12.58 kB / 0.7953 GB, free: 4.766 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.01451, allocations: 4.844 kB / 0.7953 GB, free: 4.762 MB / 0.7449 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 7.27e-05/0.01458, allocations: 160.6 kB / 0.7954 GB, free: 4.594 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.0146, allocations: 17.88 kB / 0.7955 GB, free: 4.578 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.01473, allocations: 103.1 kB / 0.7956 GB, free: 4.477 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01473, allocations: 11.88 kB / 0.7956 GB, free: 4.465 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01473, allocations: 0 / 0.7956 GB, free: 4.465 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01474, allocations: 0 / 0.7956 GB, free: 4.465 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.01484, allocations: 145.7 kB / 0.7957 GB, free: 4.297 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01484, allocations: 0 / 0.7957 GB, free: 4.297 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.01488, allocations: 18.42 kB / 0.7957 GB, free: 4.281 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01489, allocations: 0 / 0.7957 GB, free: 4.281 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.0149, allocations: 4 kB / 0.7957 GB, free: 4.277 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.0149, allocations: 0 / 0.7957 GB, free: 4.277 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.0149, allocations: 0 / 0.7957 GB, free: 4.277 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.01504, allocations: 155.6 kB / 0.7959 GB, free: 4.094 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.01506, allocations: 21.73 kB / 0.7959 GB, free: 4.074 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.01507, allocations: 4 kB / 0.7959 GB, free: 4.07 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.385e-05/0.01511, allocations: 4 kB / 0.7959 GB, free: 4.066 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.01514, allocations: 19.91 kB / 0.7959 GB, free: 4.047 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.01516, allocations: 4 kB / 0.7959 GB, free: 4.043 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 6.964e-05/0.01523, allocations: 172.5 kB / 0.7961 GB, free: 3.875 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.01523, allocations: 0.5625 kB / 0.7961 GB, free: 3.875 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001898/0.01542, allocations: 45.56 kB / 0.7961 GB, free: 3.832 MB / 0.7449 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.001009/0.01642, allocations: 0.4926 MB / 0.7966 GB, free: 3.523 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.01654, allocations: 68.55 kB / 0.7967 GB, free: 3.453 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01655, allocations: 0 / 0.7967 GB, free: 3.453 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.01659, allocations: 32.17 kB / 0.7967 GB, free: 3.418 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.01678, allocations: 40.59 kB / 0.7968 GB, free: 3.379 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.01726, allocations: 255.3 kB / 0.797 GB, free: 3.09 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.705e-05/0.0173, allocations: 75.27 kB / 0.7971 GB, free: 2.996 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 4.798e-05/0.01734, allocations: 8.984 kB / 0.7971 GB, free: 2.988 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.01743, allocations: 106.2 kB / 0.7972 GB, free: 2.883 MB / 0.7449 GB Notification: Performance of SimCode: time 5.41e-07/0.01743, allocations: 0 / 0.7972 GB, free: 2.883 MB / 0.7449 GB Notification: Performance of Templates: time 0.004463/0.0219, allocations: 2.962 MB / 0.8001 GB, free: 15.97 MB / 0.7605 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.920370060019195]