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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001337/0.001343, allocations: 110.8 kB / 16.27 MB, free: 6.414 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.001314/0.001314, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.443/1.443, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 482.4 MB / 0.7553 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 59.62 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/0.8291, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003039/0.8322, allocations: 1.673 MB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.8345, allocations: 1.499 MB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.8346, allocations: 1.031 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.8349, allocations: 41.27 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.8352, allocations: 65.22 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.8356, allocations: 118.4 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.8358, allocations: 131.8 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.8359, allocations: 11.5 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.836, allocations: 57.53 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.8363, allocations: 50.22 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.8363, allocations: 7.406 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.8365, allocations: 63.48 kB / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.8366, allocations: 25.91 kB / 1.087 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.8367, allocations: 46.09 kB / 1.087 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.837, allocations: 149 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.837, allocations: 1 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.837, allocations: 4 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.837, allocations: 0 / 1.087 GB, free: 15.05 MB / 0.8419 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.0007248/0.8377, allocations: 436.4 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.8378, allocations: 9.25 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.8378, allocations: 9.844 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.8381, allocations: 228.3 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.8381, allocations: 1.844 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.8382, allocations: 10.55 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.8384, allocations: 104 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8385, allocations: 0 / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.8385, allocations: 5.375 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8385, allocations: 0 / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.8387, allocations: 52.06 kB / 1.088 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.839, allocations: 206.9 kB / 1.088 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.8393, allocations: 116.8 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.8394, allocations: 59.81 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.8395, allocations: 2.188 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.8398, allocations: 119.3 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.8398, allocations: 0 / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005223/0.8403, allocations: 159.7 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.8404, allocations: 132.7 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.8406, allocations: 172 kB / 1.088 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.8407, allocations: 26.83 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.8408, allocations: 112.9 kB / 1.089 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.8408, allocations: 24.86 kB / 1.089 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.8409, allocations: 23.06 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.8411, allocations: 326.7 kB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.8412, allocations: 30.69 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.8413, allocations: 66.33 kB / 1.089 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.8416, allocations: 91.12 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.8416, allocations: 1.797 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003243/0.8419, allocations: 133.3 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.842, allocations: 6.016 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.842, allocations: 1.156 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.842, allocations: 5.094 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.8421, allocations: 28.67 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.8422, allocations: 2.188 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.8423, allocations: 11.7 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.8423, allocations: 11.73 kB / 1.089 GB, free: 12.79 MB / 0.8419 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.0001396/0.8424, allocations: 128.1 kB / 1.089 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.8425, allocations: 11.27 kB / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.8425, allocations: 17.19 kB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.8425, allocations: 1.562 kB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.8425, allocations: 1.125 kB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.8426, allocations: 2.016 kB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.8428, allocations: 212.3 kB / 1.09 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.8428, allocations: 6.094 kB / 1.09 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/0.8429, allocations: 21.23 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.8429, allocations: 1.469 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.8429, allocations: 1.859 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8429, allocations: 1.953 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8429, allocations: 1.156 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.8433, allocations: 167.1 kB / 1.09 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.8434, allocations: 89.72 kB / 1.09 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.8434, allocations: 3.047 kB / 1.09 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.8435, allocations: 12.95 kB / 1.09 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.8436, allocations: 9.281 kB / 1.09 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.8436, allocations: 3.812 kB / 1.09 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001362/0.8438, allocations: 135.6 kB / 1.09 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8438, allocations: 0 / 1.09 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002753/0.8441, allocations: 36.52 kB / 1.09 GB, free: 12.09 MB / 0.8419 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.001706/0.8458, allocations: 445.6 kB / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.8461, allocations: 90.31 kB / 1.091 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8461, allocations: 0.8125 kB / 1.091 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.8463, allocations: 43.91 kB / 1.091 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.8466, allocations: 37.91 kB / 1.091 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.8472, allocations: 272.9 kB / 1.091 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.8476, allocations: 0.7065 MB / 1.092 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.8477, allocations: 19.66 kB / 1.092 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.8477, allocations: 0 / 1.092 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.005125/0.8528, allocations: 2.185 MB / 1.094 GB, free: 10.68 MB / 0.8419 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=400 -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