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.008403/0.008403, allocations: 101.3 kB / 15.73 MB, free: 6.062 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.001764/0.001764, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.394/2.394, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8313, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003031/0.8344, allocations: 1.694 MB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.8365, allocations: 1.514 MB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.8366, allocations: 0 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.837, allocations: 39.77 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.8373, allocations: 63.62 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.8377, allocations: 117.3 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.8379, allocations: 127.6 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.793e-05/0.838, allocations: 9.109 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.8381, allocations: 55.77 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.8384, allocations: 59.7 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.8384, allocations: 4 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.8386, allocations: 63.97 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.8387, allocations: 23.91 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.8388, allocations: 39.73 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.8391, allocations: 144.1 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.8391, allocations: 4 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8391, allocations: 3.938 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.8391, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 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.0007404/0.8399, allocations: 450.5 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.8399, allocations: 12.03 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.84, allocations: 8.891 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.8403, allocations: 224.1 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.8404, allocations: 4.375 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.8404, allocations: 4.125 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.8407, allocations: 109 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.8407, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.8407, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.8407, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.8409, allocations: 51.89 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.8411, allocations: 207.5 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.8414, allocations: 115.8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.8416, allocations: 54.56 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.8416, allocations: 3.984 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.8418, allocations: 109.9 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.8418, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.000494/0.8423, allocations: 173.5 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.8424, allocations: 128.5 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.8426, allocations: 174.4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.8426, allocations: 29.7 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.8427, allocations: 104.1 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.8427, allocations: 32.03 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.8428, allocations: 21.72 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.8429, allocations: 322.8 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.843, allocations: 39.84 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.8432, allocations: 64.27 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.8434, allocations: 95.38 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8434, allocations: 0 / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003108/0.8437, allocations: 141.5 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.8437, allocations: 4 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8438, allocations: 0 / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8438, allocations: 4 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.8439, allocations: 23.92 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8439, allocations: 0 / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.844, allocations: 23.88 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.8441, allocations: 0 / 1.173 GB, free: 12.85 MB / 0.9044 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.0001116/0.8442, allocations: 127.9 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.8442, allocations: 11.95 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.8443, allocations: 21.39 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8443, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8443, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8443, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.8445, allocations: 209.5 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8445, allocations: 320 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.198e-05/0.8446, allocations: 15.98 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8446, allocations: 0 / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.8446, allocations: 8 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.8446, allocations: 7.938 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8446, allocations: 0 / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.845, allocations: 166.7 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.845, allocations: 93 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.8451, allocations: 8 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.8451, allocations: 4 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.8452, allocations: 11.98 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.8452, allocations: 4 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001162/0.8453, allocations: 140.2 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8453, allocations: 192 / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002462/0.8456, allocations: 31.94 kB / 1.174 GB, free: 11.9 MB / 0.9044 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.001029/0.8466, allocations: 461.7 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.8469, allocations: 79.89 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8469, allocations: 4.188 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.8471, allocations: 43.91 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.8474, allocations: 37.17 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.8479, allocations: 231.3 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.8482, allocations: 0.712 MB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.612e-05/0.8482, allocations: 20.86 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.8483, allocations: 23.42 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8483, allocations: 0 / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of Templates: time 0.005155/0.8535, allocations: 2.047 MB / 1.177 GB, free: 8.395 MB / 0.9044 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