Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001452/0.001452, allocations: 109.8 kB / 16.42 MB, free: 6.469 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.001509/0.001509, allocations: 187.9 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8437, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002954/0.8467, allocations: 1.681 MB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.8486, allocations: 1.505 MB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-05/0.8487, allocations: 1.281 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.849, allocations: 40.95 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.8493, allocations: 73.12 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.8496, allocations: 114.3 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.8498, allocations: 125.4 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.8498, allocations: 7.391 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.85, allocations: 61.2 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.8502, allocations: 47.36 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.8502, allocations: 6.094 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.8504, allocations: 72.95 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.8504, allocations: 26.34 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.8505, allocations: 40.58 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.8508, allocations: 144.5 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8508, allocations: 0 / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8508, allocations: 4.812 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8508, allocations: 0 / 1.092 GB, free: 2.949 MB / 0.8575 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.0006116/0.8515, allocations: 448.9 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.8515, allocations: 9.062 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.8516, allocations: 15.02 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.8519, allocations: 218.5 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.8519, allocations: 1.438 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.8519, allocations: 6.438 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.8522, allocations: 104.6 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.8522, allocations: 0 / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.8522, allocations: 4.656 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8523, allocations: 1.312 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.8524, allocations: 51.8 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.8527, allocations: 210.3 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.8529, allocations: 116.1 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.8531, allocations: 56.19 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.8531, allocations: 1.828 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.8533, allocations: 108.3 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.8533, allocations: 4.438 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004902/0.8538, allocations: 167 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.8539, allocations: 135.2 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.854, allocations: 181.5 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.8541, allocations: 27.58 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.8541, allocations: 103.7 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.8542, allocations: 22.09 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.8542, allocations: 26.84 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.8543, allocations: 322.7 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.8544, allocations: 35 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.8545, allocations: 65.83 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.8547, allocations: 95.88 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8547, allocations: 0.9062 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003057/0.8551, allocations: 133 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8551, allocations: 5.906 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8551, allocations: 1.438 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.8551, allocations: 1.531 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.8553, allocations: 24.72 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.8553, allocations: 1.891 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.8554, allocations: 11.7 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.8554, allocations: 8.047 kB / 1.095 GB, free: 0.6992 MB / 0.8575 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 8.543e-05/0.8555, allocations: 127.8 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.8555, allocations: 15.53 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.8556, allocations: 16.95 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8556, allocations: 5.422 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8556, allocations: 0.7812 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.8556, allocations: 97.94 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.8557, allocations: 2.188 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.8557, allocations: 7.688 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.8558, allocations: 16.08 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003874/0.8562, allocations: 361 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004447/0.8567, allocations: 459.4 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001336/0.8568, allocations: 44 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001389/0.857, allocations: 132.1 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of Backend: time 4.11e-07/0.857, allocations: 0.625 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.8589, allocations: 0.5211 MB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0008239/0.8597, allocations: 0.6817 MB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.006491/0.8662, allocations: 2.326 MB / 1.1 GB, free: 14.57 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches