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.001165/0.001165, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.001103/0.001103, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.204/1.204, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.19/2.19, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 61.31 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2431, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002617/0.2457, allocations: 1.695 MB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.2475, allocations: 1.507 MB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.2475, allocations: 7.938 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.2478, allocations: 39.7 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.248, allocations: 67.67 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.2482, allocations: 111.6 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.2484, allocations: 131.5 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.2485, allocations: 9.125 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2486, allocations: 55.72 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2487, allocations: 54.11 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2487, allocations: 8 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2489, allocations: 63.95 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.2489, allocations: 27.86 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.249, allocations: 43.73 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.2492, allocations: 143.6 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2492, allocations: 0 / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2492, allocations: 4 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2492, allocations: 0 / 1.031 GB, free: 14.12 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.0005194/0.2497, allocations: 438.9 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.2498, allocations: 8.031 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.2498, allocations: 8.844 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.2501, allocations: 224.9 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2501, allocations: 4.375 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2501, allocations: 12.11 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.2503, allocations: 105.1 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2503, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2503, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2503, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.2505, allocations: 51.89 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.2507, allocations: 215.4 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.2509, allocations: 115.8 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2511, allocations: 54.5 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2511, allocations: 7.984 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.2513, allocations: 109.9 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2513, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.2517, allocations: 157.5 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.2518, allocations: 140.5 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2519, allocations: 178.3 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.252, allocations: 29.7 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.252, allocations: 100.1 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.252, allocations: 15.81 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.2521, allocations: 33.95 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.2522, allocations: 322.8 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.2523, allocations: 27.98 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2524, allocations: 68.2 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.2526, allocations: 95.61 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2526, allocations: 4 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002688/0.2529, allocations: 141.3 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2529, allocations: 12.09 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2529, allocations: 0 / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.2529, allocations: 0 / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2531, allocations: 19.98 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2531, allocations: 4 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.2531, allocations: 11.92 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2532, allocations: 4 kB / 1.033 GB, free: 11.13 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 8.611e-05/0.2532, allocations: 133.7 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.2533, allocations: 23.8 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.2533, allocations: 13.41 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2533, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2533, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2533, allocations: 4 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2535, allocations: 205.5 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2535, allocations: 0 / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.2536, allocations: 15.98 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2536, allocations: 0 / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2536, allocations: 7.984 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2536, allocations: 4 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2536, allocations: 7.938 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.2539, allocations: 170.5 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.254, allocations: 85.02 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.254, allocations: 4 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.2541, allocations: 15.98 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.2541, allocations: 4 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2541, allocations: 7.984 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.933e-05/0.2542, allocations: 132.2 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2542, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002253/0.2545, allocations: 31.98 kB / 1.034 GB, free: 10.18 MB / 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.0008927/0.2554, allocations: 450.3 kB / 1.034 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.2556, allocations: 79.89 kB / 1.035 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2556, allocations: 0 / 1.035 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2558, allocations: 60.16 kB / 1.035 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.256, allocations: 29.64 kB / 1.035 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.2564, allocations: 236.9 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2567, allocations: 0.7042 MB / 1.036 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.488e-05/0.2567, allocations: 20.86 kB / 1.036 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.2568, allocations: 23.42 kB / 1.036 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2568, allocations: 0 / 1.036 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of Templates: time 0.004203/0.261, allocations: 2.039 MB / 1.038 GB, free: 6.695 MB / 0.8106 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 -s cvode -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