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.005469/0.005469, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.00119/0.00119, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.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.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.34 kB / 0.9508 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3468, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003029/0.3498, allocations: 1.684 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.3521, allocations: 1.503 MB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3522, allocations: 0 / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.3526, allocations: 39.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.3529, allocations: 67.69 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.3533, allocations: 121.5 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.3535, allocations: 123.6 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.3537, allocations: 13.09 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3538, allocations: 59.7 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.3541, allocations: 51.77 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.3541, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3543, allocations: 63.97 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.3544, allocations: 23.91 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.3545, allocations: 55.61 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.3548, allocations: 143.6 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3548, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3548, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.3548, allocations: 0 / 1.092 GB, free: 13.5 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.0008414/0.3557, allocations: 434.9 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3557, allocations: 12.03 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.3558, allocations: 8.844 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.3562, allocations: 236.9 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3562, allocations: 8.375 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3563, allocations: 4.125 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.3565, allocations: 101.1 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3566, allocations: 0 / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.3566, allocations: 4 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.3566, allocations: 0 / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.3568, allocations: 55.89 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.3571, allocations: 203.4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.3574, allocations: 123.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3575, allocations: 46.56 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.3576, allocations: 7.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.3578, allocations: 113.9 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.3578, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004942/0.3583, allocations: 161.4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.3584, allocations: 136.7 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3586, allocations: 178.9 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3586, allocations: 33.7 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.3587, allocations: 96.14 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3587, allocations: 27.64 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.3588, allocations: 33.64 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3589, allocations: 318.8 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.359, allocations: 31.98 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3591, allocations: 72.45 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3594, allocations: 99.38 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3594, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002878/0.3597, allocations: 137.4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3597, allocations: 7.938 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3597, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3597, allocations: 4 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3599, allocations: 19.98 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.3599, allocations: 96 / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.36, allocations: 19.89 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.36, allocations: 0 / 1.094 GB, free: 10.5 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 0.0001246/0.3602, allocations: 127.7 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.3602, allocations: 15.89 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.3602, allocations: 13.41 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3603, allocations: 7.938 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3603, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3603, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3605, allocations: 209.5 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3605, allocations: 0 / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.3606, allocations: 15.98 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3606, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3606, allocations: 8 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3606, allocations: 0 / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3606, allocations: 3.984 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.361, allocations: 166.5 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.361, allocations: 92.94 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.3611, allocations: 12.06 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.3612, allocations: 7.984 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.3612, allocations: 4 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.3612, allocations: 7.984 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000121/0.3614, allocations: 136.2 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3614, allocations: 0 / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002648/0.3617, allocations: 39.92 kB / 1.095 GB, free: 9.555 MB / 0.8575 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.00098/0.3626, allocations: 441.5 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.363, allocations: 87.89 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.363, allocations: 0 / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3631, allocations: 43.91 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3634, allocations: 32.55 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.3639, allocations: 245.2 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3642, allocations: 0.7002 MB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.893e-05/0.3643, allocations: 24.86 kB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.3644, allocations: 19.42 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3644, allocations: 0 / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.005041/0.3694, allocations: 2.043 MB / 1.099 GB, free: 6.062 MB / 0.8575 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/jenkins/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