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.001259/0.001258, allocations: 114.2 kB / 16.42 MB, free: 6.508 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.001382/0.001382, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.044, allocations: 159.9 MB / 1.226 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003966/1.048, allocations: 1.688 MB / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002698/1.051, allocations: 1.504 MB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/1.051, allocations: 0 / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003505/1.052, allocations: 39.77 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002789/1.052, allocations: 67.62 kB / 1.23 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/1.052, allocations: 115.2 kB / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/1.053, allocations: 131.6 kB / 1.23 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/1.053, allocations: 9.109 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/1.053, allocations: 59.72 kB / 1.23 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/1.053, allocations: 55.69 kB / 1.23 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/1.053, allocations: 8 kB / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/1.053, allocations: 59.97 kB / 1.23 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/1.053, allocations: 23.92 kB / 1.23 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/1.053, allocations: 43.73 kB / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/1.054, allocations: 155.9 kB / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.054, allocations: 0 / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.594e-06/1.054, allocations: 0 / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.054, allocations: 0 / 1.23 GB, free: 9.609 MB / 0.9512 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.0007936/1.054, allocations: 450.5 kB / 1.231 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.054, allocations: 12.03 kB / 1.231 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/1.055, allocations: 12.84 kB / 1.231 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/1.055, allocations: 216.2 kB / 1.231 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/1.055, allocations: 8.375 kB / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/1.055, allocations: 4.125 kB / 1.231 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/1.055, allocations: 105 kB / 1.231 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.055, allocations: 0 / 1.231 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.055, allocations: 4 kB / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.055, allocations: 0 / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/1.055, allocations: 55.89 kB / 1.231 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/1.056, allocations: 207.5 kB / 1.231 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/1.056, allocations: 115.8 kB / 1.231 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/1.056, allocations: 50.55 kB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/1.056, allocations: 4 kB / 1.231 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/1.056, allocations: 125.8 kB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/1.056, allocations: 0 / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004965/1.057, allocations: 157.5 kB / 1.232 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/1.057, allocations: 128.8 kB / 1.232 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/1.057, allocations: 178.4 kB / 1.232 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/1.057, allocations: 25.7 kB / 1.232 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/1.057, allocations: 108.1 kB / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/1.057, allocations: 19.8 kB / 1.232 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/1.057, allocations: 29.7 kB / 1.232 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.058, allocations: 318.8 kB / 1.232 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/1.058, allocations: 39.91 kB / 1.232 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/1.058, allocations: 64.22 kB / 1.233 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/1.058, allocations: 103.4 kB / 1.233 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.058, allocations: 0 / 1.233 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003011/1.058, allocations: 133.4 kB / 1.233 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.058, allocations: 7.938 kB / 1.233 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.058, allocations: 0 / 1.233 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.058, allocations: 4 kB / 1.233 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/1.059, allocations: 23.92 kB / 1.233 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.059, allocations: 4.078 kB / 1.233 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/1.059, allocations: 15.89 kB / 1.233 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/1.059, allocations: 4 kB / 1.233 GB, free: 6.609 MB / 0.9512 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.0001358/1.059, allocations: 128.8 kB / 1.233 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/1.059, allocations: 15.89 kB / 1.233 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/1.059, allocations: 17.39 kB / 1.233 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.059, allocations: 0 / 1.233 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.059, allocations: 4 kB / 1.233 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/1.059, allocations: 93.02 kB / 1.233 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/1.059, allocations: 4 kB / 1.233 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/1.059, allocations: 8.297 kB / 1.233 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/1.059, allocations: 15.92 kB / 1.233 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004594/1.06, allocations: 363.3 kB / 1.233 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004682/1.06, allocations: 461.3 kB / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001215/1.06, allocations: 43.91 kB / 1.234 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001105/1.06, allocations: 140.2 kB / 1.234 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of Backend: time 8.02e-07/1.06, allocations: 0 / 1.234 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001771/1.062, allocations: 0.5241 MB / 1.235 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007201/1.063, allocations: 0.6876 MB / 1.235 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of Templates: time 0.005524/1.069, allocations: 2.351 MB / 1.238 GB, free: 1.898 MB / 0.9512 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