Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001125/0.001124, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.009198/0.009198, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003807, allocations: 11.94 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6864/0.6868, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002154/0.689, allocations: 1.398 MB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.691, allocations: 1.444 MB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.6911, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.6913, allocations: 39.83 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.6915, allocations: 59.75 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.6918, allocations: 103.6 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.692, allocations: 119.6 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.6921, allocations: 21.03 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.6922, allocations: 43.73 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.6924, allocations: 55.75 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.6924, allocations: 4 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.6925, allocations: 51.98 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.6926, allocations: 31.89 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.6927, allocations: 65.44 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.6929, allocations: 145.5 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6929, allocations: 3.938 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6929, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.6929, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.7794 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.0005344/0.6935, allocations: 423 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.6935, allocations: 12.03 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.6935, allocations: 16.69 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.6938, allocations: 216.1 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6938, allocations: 384 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.6938, allocations: 12.12 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.6941, allocations: 101 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6941, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.6941, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.6941, allocations: 0 / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.6943, allocations: 63.88 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.6945, allocations: 207.5 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.6948, allocations: 119.8 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.6949, allocations: 58.56 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.695, allocations: 7.984 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.6952, allocations: 121.8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.6952, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004788/0.6957, allocations: 169.7 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.6958, allocations: 132.5 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.696, allocations: 175.4 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.696, allocations: 25.7 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.6961, allocations: 104.1 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.6961, allocations: 23.66 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.6961, allocations: 17.72 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6962, allocations: 326.9 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.6964, allocations: 39.91 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.6965, allocations: 68.2 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.6967, allocations: 103.4 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6968, allocations: 0 / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003402/0.6971, allocations: 157.6 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.6971, allocations: 4 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6971, allocations: 0 / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.6972, allocations: 4 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.6973, allocations: 28.02 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6973, allocations: 4 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.6974, allocations: 15.92 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.6974, allocations: 0 / 1.029 GB, free: 9.215 MB / 0.7794 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 9.654e-05/0.6975, allocations: 126.3 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.6975, allocations: 15.81 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.6976, allocations: 17.39 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6976, allocations: 4 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6976, allocations: 4 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6976, allocations: 0 / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.6978, allocations: 209.5 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6978, allocations: 0 / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.6979, allocations: 19.98 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6979, allocations: 0 / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.6979, allocations: 4 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6979, allocations: 7.938 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6979, allocations: 0 / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.6983, allocations: 170.6 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.6983, allocations: 96.91 kB / 1.03 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.6984, allocations: 4 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.6984, allocations: 11.98 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.6985, allocations: 11.98 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.6985, allocations: 4 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001205/0.6986, allocations: 140.7 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6987, allocations: 0 / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002489/0.6989, allocations: 31.98 kB / 1.03 GB, free: 8.254 MB / 0.7794 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.001031/0.6999, allocations: 454.2 kB / 1.03 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.7003, allocations: 99.88 kB / 1.031 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7003, allocations: 0 / 1.031 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.7004, allocations: 47.91 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.7007, allocations: 31.59 kB / 1.031 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.7012, allocations: 271.2 kB / 1.031 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.7014, allocations: 0.7121 MB / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.491e-05/0.7015, allocations: 16.88 kB / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.7016, allocations: 19.44 kB / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7016, allocations: 0 / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of Templates: time 0.004577/0.7062, allocations: 1.905 MB / 1.033 GB, free: 4.844 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches