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.001607/0.001607, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001752/0.001752, allocations: 213 kB / 23.01 MB, free: 4.566 MB / 14.72 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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 3.201/3.201, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.1.|combiTimeTable.y.2.|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.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.7 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3363, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00318/0.3395, allocations: 1.741 MB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.3422, allocations: 1.797 MB / 1.358 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.3422, allocations: 4 kB / 1.358 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3425, allocations: 31.77 kB / 1.358 GB, free: 4.355 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.3428, allocations: 111.5 kB / 1.358 GB, free: 4.246 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3431, allocations: 99.58 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3433, allocations: 135.6 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.256e-05/0.3433, allocations: 9.625 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3435, allocations: 67.7 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3437, allocations: 63.69 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3437, allocations: 4 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.3439, allocations: 119.9 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.344, allocations: 27.91 kB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.3441, allocations: 47.61 kB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.3444, allocations: 203.2 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3444, allocations: 0 / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3444, allocations: 0 / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3444, allocations: 0 / 1.358 GB, free: 3.48 MB / 1.045 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.0006716/0.3451, allocations: 398.7 kB / 1.359 GB, free: 3.062 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3451, allocations: 16.03 kB / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.3453, allocations: 24.83 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.3456, allocations: 167.1 kB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3456, allocations: 4.375 kB / 1.359 GB, free: 2.828 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3456, allocations: 8.125 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.3459, allocations: 101.1 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3459, allocations: 0 / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3459, allocations: 0 / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3459, allocations: 0 / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.3461, allocations: 51.89 kB / 1.359 GB, free: 2.652 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.3463, allocations: 186.5 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.3466, allocations: 111.8 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3467, allocations: 50.55 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.3468, allocations: 11.98 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.347, allocations: 113.9 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.347, allocations: 0 / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004895/0.3475, allocations: 157.7 kB / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.3476, allocations: 144.4 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3478, allocations: 203.1 kB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.3478, allocations: 25.7 kB / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.3479, allocations: 108.1 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.348, allocations: 19.86 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.348, allocations: 25.7 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3482, allocations: 330.9 kB / 1.361 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3483, allocations: 31.97 kB / 1.361 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.3484, allocations: 56.28 kB / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.3486, allocations: 99.36 kB / 1.361 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3486, allocations: 0 / 1.361 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003028/0.3489, allocations: 137.4 kB / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3489, allocations: 7.938 kB / 1.361 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3489, allocations: 8.094 kB / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.349, allocations: 0 / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3491, allocations: 19.98 kB / 1.361 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3491, allocations: 3.984 kB / 1.361 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.3492, allocations: 11.94 kB / 1.361 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3492, allocations: 7.984 kB / 1.361 GB, free: 0.6094 MB / 1.045 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.0001181/0.3493, allocations: 134.4 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.3493, allocations: 11.91 kB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.3496, allocations: 115 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3496, allocations: 384 / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3496, allocations: 4 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3496, allocations: 0 / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3498, allocations: 188.6 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3498, allocations: 7.984 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.3498, allocations: 8 kB / 1.361 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3498, allocations: 0 / 1.361 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3499, allocations: 7.984 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3499, allocations: 0 / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3499, allocations: 7.938 kB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.3502, allocations: 170.6 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.3502, allocations: 11.91 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.3503, allocations: 0 / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.3503, allocations: 19.98 kB / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.3504, allocations: 7.922 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.3504, allocations: 4.188 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000144/0.3505, allocations: 145.2 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3505, allocations: 3.938 kB / 1.362 GB, free: 15.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002897/0.3508, allocations: 47.86 kB / 1.362 GB, free: 15.64 MB / 1.061 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 (8): * Single equations (assignments): 6 * 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.001763/0.3526, allocations: 0.4937 MB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.3529, allocations: 87.88 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3529, allocations: 0 / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.353, allocations: 43.91 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.3533, allocations: 34.14 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.3538, allocations: 283.5 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3542, allocations: 0.7041 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.3543, allocations: 19.44 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3543, allocations: 0 / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of Templates: time 0.00506/0.3593, allocations: 2.595 MB / 1.366 GB, free: 11.53 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.594429399992805]