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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001342/0.001342, allocations: 104.1 kB / 16.41 MB, free: 6.516 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.00137/0.00137, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8388/0.8401, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003086/0.8433, allocations: 1.686 MB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.8456, allocations: 1.503 MB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.8457, allocations: 4 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.846, allocations: 43.7 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.8463, allocations: 63.62 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.8467, allocations: 115.6 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.8469, allocations: 127.6 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.847, allocations: 9.125 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.8471, allocations: 55.72 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.8475, allocations: 55.75 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.8476, allocations: 8 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.8477, allocations: 63.97 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.8478, allocations: 15.92 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.8479, allocations: 43.73 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.8481, allocations: 163.2 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8482, allocations: 4 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8482, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.8482, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 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.000737/0.8489, allocations: 436.8 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.849, allocations: 8.031 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.849, allocations: 12.84 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.8494, allocations: 221.2 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.8494, allocations: 384 / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.8494, allocations: 12.11 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.8497, allocations: 101 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.8497, allocations: 0 / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.8497, allocations: 0 / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8497, allocations: 0 / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.8499, allocations: 59.89 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.8501, allocations: 207.5 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.8504, allocations: 111.8 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.8506, allocations: 58.55 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.8506, allocations: 4 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.8509, allocations: 105.9 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.8509, allocations: 0 / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004829/0.8514, allocations: 165.6 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.8515, allocations: 132.5 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.8517, allocations: 182.9 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.8517, allocations: 25.7 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.8518, allocations: 108.1 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.8519, allocations: 31.88 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.8519, allocations: 25.72 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.8521, allocations: 326.8 kB / 1.214 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.8522, allocations: 32.03 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.8524, allocations: 64.28 kB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.8526, allocations: 99.36 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8526, allocations: 0 / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003216/0.853, allocations: 129.5 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.853, allocations: 8 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.853, allocations: 3.984 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.853, allocations: 192 / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.8531, allocations: 23.92 kB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8532, allocations: 7.938 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.8532, allocations: 11.91 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.8533, allocations: 4 kB / 1.215 GB, free: 6.691 MB / 0.9356 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.000121/0.8534, allocations: 129.8 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.8534, allocations: 11.91 kB / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.8535, allocations: 25.33 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8535, allocations: 0 / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8535, allocations: 4 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.8535, allocations: 0 / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.8538, allocations: 209.4 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8538, allocations: 0 / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.8538, allocations: 19.92 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.8539, allocations: 0 / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.8539, allocations: 0 / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.8539, allocations: 8.062 kB / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8539, allocations: 4 kB / 1.215 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.8543, allocations: 166.6 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.8544, allocations: 88.92 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.8544, allocations: 8 kB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.8545, allocations: 7.984 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.8546, allocations: 15.92 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.8546, allocations: 4 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002118/0.8548, allocations: 131.2 kB / 1.216 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8548, allocations: 0 / 1.216 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002726/0.8551, allocations: 32 kB / 1.216 GB, free: 5.734 MB / 0.9356 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.001101/0.8562, allocations: 450.4 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.8565, allocations: 83.88 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8566, allocations: 4.188 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.8567, allocations: 43.86 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.857, allocations: 37.28 kB / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.8576, allocations: 262.6 kB / 1.217 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.858, allocations: 0.712 MB / 1.217 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.8581, allocations: 23.36 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.8581, allocations: 0 / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.005015/0.8631, allocations: 2.194 MB / 1.219 GB, free: 2.066 MB / 0.9356 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