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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005015/0.005015, allocations: 101.7 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 193.6 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 62.59 kB / 0.899 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3361, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00372/0.3398, allocations: 1.751 MB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.3421, allocations: 1.483 MB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3422, allocations: 4 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.3426, allocations: 35.84 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.3429, allocations: 55.75 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.3433, allocations: 98.64 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.3435, allocations: 119.6 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.3436, allocations: 5.125 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3438, allocations: 59.7 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.344, allocations: 56.55 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.344, allocations: 4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3442, allocations: 59.97 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.3443, allocations: 19.91 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.424e-05/0.3443, allocations: 43.67 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3446, allocations: 104.1 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3446, allocations: 0 / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3446, allocations: 0 / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3446, allocations: 0 / 1.057 GB, free: 4.395 MB / 0.8106 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.0007135/0.3453, allocations: 446.8 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3454, allocations: 12.03 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.3454, allocations: 8.844 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.3457, allocations: 220 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3458, allocations: 4.375 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3458, allocations: 4.125 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.346, allocations: 105 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3461, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3461, allocations: 4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3461, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.3463, allocations: 55.89 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.3466, allocations: 207.4 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.3468, allocations: 115.8 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.347, allocations: 46.56 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.347, allocations: 11.98 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.3473, allocations: 113.9 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3473, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005227/0.3478, allocations: 165.6 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.3479, allocations: 128.5 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3481, allocations: 179.9 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3481, allocations: 33.64 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.3482, allocations: 104.1 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.3483, allocations: 19.72 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.3483, allocations: 29.86 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3484, allocations: 326.8 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3485, allocations: 23.98 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3487, allocations: 68.2 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3489, allocations: 103.3 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3489, allocations: 0 / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003602/0.3493, allocations: 133.3 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3493, allocations: 4.094 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3493, allocations: 4 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3493, allocations: 7.984 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3495, allocations: 19.98 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3495, allocations: 3.938 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.651e-05/0.3496, allocations: 19.92 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3496, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 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.0001168/0.3497, allocations: 123.2 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.3498, allocations: 19.8 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.3498, allocations: 21.41 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3498, allocations: 4 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3498, allocations: 0 / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3498, allocations: 0 / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.35, allocations: 201.5 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.35, allocations: 0 / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.3501, allocations: 16.3 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3501, allocations: 0 / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3502, allocations: 7.984 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3502, allocations: 7.938 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3502, allocations: 7.984 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.3505, allocations: 170.5 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.3506, allocations: 85.02 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.3506, allocations: 4 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.3507, allocations: 11.98 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3507, allocations: 8 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.3508, allocations: 7.984 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001197/0.3509, allocations: 127.4 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.894e-06/0.3509, allocations: 0 / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002608/0.3512, allocations: 43.86 kB / 1.06 GB, free: 464 kB / 0.8106 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.001117/0.3523, allocations: 452 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.3526, allocations: 79.89 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.3526, allocations: 4 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.3528, allocations: 48.09 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3531, allocations: 27.92 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.3536, allocations: 288.4 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3539, allocations: 0.7043 MB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.354, allocations: 19.44 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.354, allocations: 0 / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.004967/0.359, allocations: 2.189 MB / 1.064 GB, free: 12.78 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) 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) Reference file matches