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.00176/0.00176, allocations: 84.39 kB / 20.23 MB, free: 4.312 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.002178/0.002178, allocations: 169.2 kB / 23.55 MB, free: 0.9961 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.446/1.446, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.916/2.916, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|combiTimeTable.y.2.|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.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.109e-05, allocations: 7 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003618/0.00365, allocations: 1.708 MB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003088/0.006738, allocations: 1.734 MB / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.787e-05/0.006836, allocations: 0 / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.007166, allocations: 43.7 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.007653, allocations: 112.9 kB / 0.8143 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.007968, allocations: 99.52 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.008241, allocations: 139.5 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.008291, allocations: 6.828 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.008546, allocations: 83.73 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.008792, allocations: 47.81 kB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.00882, allocations: 9.344 kB / 0.8147 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.009097, allocations: 111.8 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.009176, allocations: 27.91 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.00925, allocations: 31.86 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.009737, allocations: 211.8 kB / 0.815 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.009741, allocations: 0.7188 kB / 0.815 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.282e-06/0.009742, allocations: 0 / 0.815 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.009748, allocations: 0.5 kB / 0.815 GB, free: 13.78 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.0008824/0.01063, allocations: 394.8 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.01068, allocations: 12.03 kB / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.01089, allocations: 24.83 kB / 0.8155 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.01125, allocations: 167.5 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.01128, allocations: 5.281 kB / 0.8156 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.01129, allocations: 4.375 kB / 0.8156 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.01162, allocations: 135.9 kB / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.01164, allocations: 4.531 kB / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.01165, allocations: 0 / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.01166, allocations: 5.375 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.01188, allocations: 51.89 kB / 0.8158 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.01214, allocations: 156.9 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.01248, allocations: 111.8 kB / 0.8161 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.01263, allocations: 52.92 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.01265, allocations: 0 / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.01292, allocations: 117.9 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.01292, allocations: 0 / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0006114/0.01353, allocations: 180.8 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.01364, allocations: 128.5 kB / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.01392, allocations: 203.8 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.01394, allocations: 25.7 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.01403, allocations: 116.1 kB / 0.8169 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.01408, allocations: 20.83 kB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.01413, allocations: 29.64 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.01432, allocations: 322.8 kB / 0.8172 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.01445, allocations: 33.03 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.01463, allocations: 94.53 kB / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.01489, allocations: 105.5 kB / 0.8174 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.0149, allocations: 2.156 kB / 0.8174 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003681/0.01526, allocations: 137.5 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01528, allocations: 4 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.01529, allocations: 8.75 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.01532, allocations: 3.984 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.01546, allocations: 24.86 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01546, allocations: 0 / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.01556, allocations: 17.16 kB / 0.8176 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01557, allocations: 4 kB / 0.8176 GB, free: 10.86 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 0.0001301/0.0157, allocations: 124.5 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.01575, allocations: 19.91 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.01605, allocations: 140 kB / 0.8179 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01606, allocations: 0 / 0.8179 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01606, allocations: 0 / 0.8179 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01607, allocations: 4.938 kB / 0.8179 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.01627, allocations: 145.2 kB / 0.818 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.01627, allocations: 4 kB / 0.818 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.165e-05/0.01636, allocations: 17.02 kB / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.01637, allocations: 0 / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.01638, allocations: 5.125 kB / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.01639, allocations: 3.938 kB / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01639, allocations: 0 / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.01681, allocations: 183.8 kB / 0.8182 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.01685, allocations: 16.89 kB / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.01687, allocations: 0 / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01697, allocations: 20.58 kB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.01703, allocations: 19.91 kB / 0.8183 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.01705, allocations: 5.625 kB / 0.8183 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001847/0.01724, allocations: 149.2 kB / 0.8184 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01724, allocations: 0 / 0.8184 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003044/0.01754, allocations: 47.86 kB / 0.8185 GB, free: 9.922 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.002342/0.01988, allocations: 0.5401 MB / 0.819 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.02023, allocations: 87.88 kB / 0.8191 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02023, allocations: 4.188 kB / 0.8191 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.02039, allocations: 43.92 kB / 0.8191 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.02071, allocations: 41.17 kB / 0.8192 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.02133, allocations: 272 kB / 0.8194 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.02145, allocations: 101.3 kB / 0.8195 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.202e-05/0.02153, allocations: 16.97 kB / 0.8196 GB, free: 9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.0216, allocations: 28.48 kB / 0.8196 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.0216, allocations: 0 / 0.8196 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of Templates: time 0.006962/0.02856, allocations: 2.669 MB / 0.8222 GB, free: 6.355 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.820288517978042]