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.001511/0.001511, allocations: 113.2 kB / 16.42 MB, free: 6.461 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.002021/0.002021, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.521/1.521, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.843/2.843, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 72.11 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.154, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003931/1.158, allocations: 1.685 MB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002758/1.16, allocations: 1.503 MB / 1.212 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/1.16, allocations: 0 / 1.212 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003559/1.161, allocations: 39.77 kB / 1.212 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/1.161, allocations: 71.55 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/1.162, allocations: 115.6 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002598/1.162, allocations: 127.6 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/1.162, allocations: 13.09 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/1.162, allocations: 51.72 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/1.163, allocations: 59.77 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/1.163, allocations: 4 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/1.163, allocations: 67.95 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/1.163, allocations: 15.92 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.147e-05/1.163, allocations: 43.73 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/1.163, allocations: 157.3 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/1.163, allocations: 0 / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/1.163, allocations: 0 / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.099e-05/1.163, allocations: 0 / 1.212 GB, free: 9.816 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.0006923/1.164, allocations: 442.8 kB / 1.213 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.164, allocations: 8.031 kB / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/1.164, allocations: 16.84 kB / 1.213 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/1.164, allocations: 217.2 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/1.164, allocations: 4.312 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/1.165, allocations: 8.125 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/1.165, allocations: 109 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.165, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.165, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.165, allocations: 4 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/1.165, allocations: 51.89 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/1.165, allocations: 203.5 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/1.166, allocations: 115.8 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/1.166, allocations: 50.56 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/1.166, allocations: 11.98 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/1.166, allocations: 105.9 kB / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.943e-06/1.166, allocations: 0 / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005203/1.167, allocations: 165.5 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/1.167, allocations: 132.5 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/1.167, allocations: 182.9 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/1.167, allocations: 25.7 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/1.167, allocations: 104.1 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/1.167, allocations: 23.66 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/1.167, allocations: 25.86 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.167, allocations: 330.8 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/1.167, allocations: 23.98 kB / 1.215 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/1.167, allocations: 72.2 kB / 1.215 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/1.168, allocations: 99.36 kB / 1.215 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.168, allocations: 0 / 1.215 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003098/1.168, allocations: 125.4 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.168, allocations: 8 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.168, allocations: 4.094 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.168, allocations: 0 / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/1.168, allocations: 19.98 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/1.168, allocations: 7.938 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.471e-05/1.168, allocations: 16.2 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.168, allocations: 4.188 kB / 1.215 GB, free: 6.832 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.000125/1.169, allocations: 127.7 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/1.169, allocations: 19.78 kB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/1.169, allocations: 21.41 kB / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.169, allocations: 7.922 kB / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.169, allocations: 0 / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/1.169, allocations: 96.84 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/1.169, allocations: 4 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/1.169, allocations: 4 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/1.169, allocations: 15.92 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004368/1.169, allocations: 371.3 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004662/1.17, allocations: 445.3 kB / 1.216 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001217/1.17, allocations: 43.97 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001177/1.17, allocations: 135.2 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of Backend: time 1.9e-07/1.17, allocations: 0 / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001816/1.172, allocations: 0.5182 MB / 1.217 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007847/1.173, allocations: 0.6981 MB / 1.217 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of Templates: time 0.005994/1.179, allocations: 2.36 MB / 1.22 GB, free: 2.113 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