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.001156/0.001156, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001167/0.001167, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9661/0.9661, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.765/1.765, allocations: 359 MB / 0.6055 GB, free: 10.88 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.483e-06/1.483e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.748e-05, allocations: 4.844 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002029/0.002046, allocations: 1.734 MB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.003823, allocations: 1.771 MB / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.003893, allocations: 0 / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.00414, allocations: 44.92 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.004392, allocations: 111.3 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.004533, allocations: 96.2 kB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.004691, allocations: 140.9 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.004729, allocations: 9.641 kB / 0.7914 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.004884, allocations: 87.67 kB / 0.7914 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.004991, allocations: 44.73 kB / 0.7915 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.005007, allocations: 8 kB / 0.7915 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.005139, allocations: 111.9 kB / 0.7916 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.005186, allocations: 20.42 kB / 0.7916 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.005232, allocations: 36.66 kB / 0.7916 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.005474, allocations: 183.3 kB / 0.7918 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005476, allocations: 4.953 kB / 0.7918 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005477, allocations: 0 / 0.7918 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.00548, allocations: 0 / 0.7918 GB, free: 7.809 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.0004225/0.005903, allocations: 0.4883 MB / 0.7923 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.005936, allocations: 9.281 kB / 0.7923 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.00604, allocations: 24.83 kB / 0.7923 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.006194, allocations: 170.7 kB / 0.7925 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.006209, allocations: 8.312 kB / 0.7925 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.006218, allocations: 4.359 kB / 0.7925 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.006363, allocations: 139.3 kB / 0.7926 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.006371, allocations: 5.094 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.006378, allocations: 0 / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.006385, allocations: 4 kB / 0.7927 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.006419, allocations: 19.08 kB / 0.7927 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.00654, allocations: 136.7 kB / 0.7928 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.006648, allocations: 109.1 kB / 0.7929 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.006677, allocations: 35.12 kB / 0.7929 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.006692, allocations: 4 kB / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.986e-05/0.006792, allocations: 104.8 kB / 0.793 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.006793, allocations: 0 / 0.793 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002059/0.006999, allocations: 127 kB / 0.7932 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.007047, allocations: 128.5 kB / 0.7933 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.007174, allocations: 238.6 kB / 0.7935 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.007191, allocations: 26.7 kB / 0.7935 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.00724, allocations: 150.8 kB / 0.7937 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.00727, allocations: 29.53 kB / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.007303, allocations: 31.36 kB / 0.7937 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.007454, allocations: 0.4962 MB / 0.7942 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.007473, allocations: 8 kB / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.007524, allocations: 88.05 kB / 0.7943 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/0.007585, allocations: 69.36 kB / 0.7944 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007587, allocations: 0 / 0.7944 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.852e-05/0.007686, allocations: 89.53 kB / 0.7945 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.007697, allocations: 8.578 kB / 0.7945 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.007703, allocations: 5.688 kB / 0.7945 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.007714, allocations: 3.938 kB / 0.7945 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.007782, allocations: 16 kB / 0.7945 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.007787, allocations: 7.922 kB / 0.7945 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.007821, allocations: 8.906 kB / 0.7945 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.007827, allocations: 4 kB / 0.7945 GB, free: 4.723 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 6.959e-05/0.007897, allocations: 162.8 kB / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.007919, allocations: 16.5 kB / 0.7947 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.008035, allocations: 99.11 kB / 0.7948 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.00804, allocations: 16.39 kB / 0.7948 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.008041, allocations: 5.156 kB / 0.7948 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.008046, allocations: 3.984 kB / 0.7948 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.064e-05/0.008136, allocations: 133.1 kB / 0.7949 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008138, allocations: 0.8438 kB / 0.7949 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.008175, allocations: 25.36 kB / 0.795 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008177, allocations: 0 / 0.795 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.008184, allocations: 4 kB / 0.795 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.008186, allocations: 3.984 kB / 0.795 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.008186, allocations: 1.156 kB / 0.795 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.008305, allocations: 155.6 kB / 0.7951 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.008321, allocations: 15.91 kB / 0.7951 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.008337, allocations: 4.812 kB / 0.7951 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.06e-05/0.008367, allocations: 7.984 kB / 0.7951 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.008398, allocations: 16.86 kB / 0.7952 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.008409, allocations: 4 kB / 0.7952 GB, free: 4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.491e-05/0.008474, allocations: 178.4 kB / 0.7953 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008474, allocations: 0 / 0.7953 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001685/0.008643, allocations: 51.86 kB / 0.7954 GB, free: 3.777 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.0008802/0.009523, allocations: 0.5024 MB / 0.7959 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.635e-05/0.009619, allocations: 49.92 kB / 0.7959 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.00962, allocations: 0 / 0.7959 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.009658, allocations: 35.61 kB / 0.796 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.009827, allocations: 45.02 kB / 0.796 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.01026, allocations: 255.3 kB / 0.7962 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.01029, allocations: 75.27 kB / 0.7963 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.221e-05/0.01033, allocations: 17.98 kB / 0.7963 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.01042, allocations: 107.3 kB / 0.7964 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.01042, allocations: 0 / 0.7964 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.004272/0.01469, allocations: 2.927 MB / 0.7993 GB, free: 15.96 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.850483485031873]