Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009714/0.0009714, allocations: 81.95 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.004552/0.004552, allocations: 166 kB / 24.87 MB, free: 9.258 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.9911/0.9911, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.9 MB / 0.6247 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.367e-05, allocations: 4.562 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002352/0.002375, allocations: 1.732 MB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.004151, allocations: 1.772 MB / 0.8162 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.455e-05/0.004246, allocations: 0 / 0.8162 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.004513, allocations: 36.45 kB / 0.8162 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.004848, allocations: 116.2 kB / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.005078, allocations: 100.2 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.005265, allocations: 147.5 kB / 0.8166 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.005309, allocations: 6.328 kB / 0.8166 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.005481, allocations: 83.67 kB / 0.8167 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.005598, allocations: 53.06 kB / 0.8167 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.005616, allocations: 8 kB / 0.8167 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.005777, allocations: 103.9 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.005829, allocations: 26.05 kB / 0.8168 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.00587, allocations: 35.84 kB / 0.8169 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.006124, allocations: 187.3 kB / 0.8171 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.006127, allocations: 0 / 0.8171 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006127, allocations: 0 / 0.8171 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.006131, allocations: 0 / 0.8171 GB, free: 13.07 MB / 0.7761 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.0004685/0.0066, allocations: 488.4 kB / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.006634, allocations: 13.56 kB / 0.8175 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.006762, allocations: 28.83 kB / 0.8176 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.006953, allocations: 173.1 kB / 0.8177 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.006969, allocations: 1.375 kB / 0.8177 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.006978, allocations: 4.375 kB / 0.8177 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.007132, allocations: 131.4 kB / 0.8179 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.007141, allocations: 8.656 kB / 0.8179 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.007152, allocations: 8.562 kB / 0.8179 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.007156, allocations: 0 / 0.8179 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.007197, allocations: 24.44 kB / 0.8179 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.007335, allocations: 129.5 kB / 0.818 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.007466, allocations: 114.2 kB / 0.8181 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.007499, allocations: 31.66 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.007515, allocations: 7.938 kB / 0.8182 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.007631, allocations: 109.4 kB / 0.8183 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.007632, allocations: 0 / 0.8183 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002094/0.007841, allocations: 110.7 kB / 0.8184 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.007894, allocations: 132.5 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.008027, allocations: 239.7 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.008043, allocations: 30.36 kB / 0.8188 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.008098, allocations: 154.8 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.008131, allocations: 24.5 kB / 0.8189 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.008168, allocations: 32.89 kB / 0.819 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.008285, allocations: 0.5001 MB / 0.8195 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.008309, allocations: 7.984 kB / 0.8195 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.008363, allocations: 88.05 kB / 0.8195 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.008427, allocations: 63.03 kB / 0.8196 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.008429, allocations: 0 / 0.8196 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001172/0.008546, allocations: 97.45 kB / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.008558, allocations: 8 kB / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.008563, allocations: 320 / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.008573, allocations: 7.938 kB / 0.8197 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.00865, allocations: 23.98 kB / 0.8197 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.008654, allocations: 8.609 kB / 0.8197 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.008697, allocations: 7.984 kB / 0.8198 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.008705, allocations: 5.75 kB / 0.8198 GB, free: 9.984 MB / 0.7761 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 8.389e-05/0.008789, allocations: 168.5 kB / 0.8199 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.008813, allocations: 15.91 kB / 0.8199 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.008946, allocations: 100.2 kB / 0.82 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.00895, allocations: 3.938 kB / 0.82 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.008954, allocations: 7.984 kB / 0.82 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008957, allocations: 1.531 kB / 0.82 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.009063, allocations: 133.1 kB / 0.8202 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.009065, allocations: 7.938 kB / 0.8202 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.00911, allocations: 15.94 kB / 0.8202 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.009111, allocations: 0.5312 kB / 0.8202 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.00912, allocations: 3.984 kB / 0.8202 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.009123, allocations: 4.906 kB / 0.8202 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009124, allocations: 0 / 0.8202 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.00926, allocations: 160.4 kB / 0.8204 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.009279, allocations: 11.91 kB / 0.8204 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.009297, allocations: 5.344 kB / 0.8204 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.009333, allocations: 11.98 kB / 0.8204 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.009367, allocations: 11.92 kB / 0.8204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.009378, allocations: 0.5938 kB / 0.8204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.285e-05/0.009451, allocations: 176 kB / 0.8206 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009451, allocations: 0.5938 kB / 0.8206 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002061/0.009657, allocations: 49.7 kB / 0.8206 GB, free: 9.047 MB / 0.7761 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.0009699/0.01063, allocations: 0.4967 MB / 0.8211 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.01075, allocations: 59.53 kB / 0.8212 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01075, allocations: 3.938 kB / 0.8212 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.01079, allocations: 31.61 kB / 0.8212 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.01098, allocations: 34.33 kB / 0.8212 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.01147, allocations: 259.6 kB / 0.8215 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.0115, allocations: 67.33 kB / 0.8215 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.434e-05/0.01156, allocations: 20.95 kB / 0.8216 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.01165, allocations: 102.2 kB / 0.8216 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.01165, allocations: 4.656 kB / 0.8217 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of Templates: time 0.004562/0.01621, allocations: 2.962 MB / 0.8245 GB, free: 5.203 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.077650090213865]