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.006708/0.006708, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001484/0.001484, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.137 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.288/2.288, allocations: 390.2 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 66.42 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3363, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003348/0.3397, allocations: 1.686 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.3421, allocations: 1.503 MB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.3423, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.3426, allocations: 35.77 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.343, allocations: 71.62 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.3434, allocations: 114.9 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.3436, allocations: 131.6 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.759e-05/0.3437, allocations: 13.05 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3439, allocations: 63.7 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3441, allocations: 43.78 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3441, allocations: 8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.3443, allocations: 63.95 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.3444, allocations: 23.92 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.3445, allocations: 55.64 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.3449, allocations: 147.5 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3449, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.966e-06/0.3449, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.3449, allocations: 0 / 1.092 GB, free: 13.53 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.000991/0.3459, allocations: 438.9 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.346, allocations: 12.03 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.72e-05/0.3461, allocations: 8.844 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.3466, allocations: 233 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3466, allocations: 4.312 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3467, allocations: 8.125 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.347, allocations: 93.08 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.347, allocations: 4 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.347, allocations: 0 / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3471, allocations: 4 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.3472, allocations: 51.89 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.3476, allocations: 211.4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.3479, allocations: 115.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.3481, allocations: 50.56 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.3481, allocations: 3.984 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.3485, allocations: 117.9 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.3485, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0006125/0.3491, allocations: 165.4 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3492, allocations: 136.7 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.3495, allocations: 178.9 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3495, allocations: 29.7 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.3496, allocations: 104.1 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.3496, allocations: 27.64 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.3497, allocations: 25.7 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3499, allocations: 326.8 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.35, allocations: 27.98 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3502, allocations: 76.2 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.3504, allocations: 99.36 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3505, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003302/0.3508, allocations: 129.4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.3508, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.3508, allocations: 4 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.3509, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.351, allocations: 23.92 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.351, allocations: 4.094 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.885e-05/0.3511, allocations: 15.89 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.3512, allocations: 8 kB / 1.094 GB, free: 10.52 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.0001524/0.3513, allocations: 123.5 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.3514, allocations: 11.89 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.314e-05/0.3514, allocations: 17.41 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3514, allocations: 4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.3515, allocations: 0 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3515, allocations: 4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.3517, allocations: 205.5 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3517, allocations: 4 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.3518, allocations: 12.3 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3518, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3519, allocations: 11.98 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3519, allocations: 0 / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.3519, allocations: 4 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.3522, allocations: 174.5 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.3523, allocations: 92.95 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3524, allocations: 0 / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.3524, allocations: 7.984 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.3525, allocations: 11.98 kB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.3525, allocations: 7.984 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001365/0.3527, allocations: 136.2 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3527, allocations: 0 / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000283/0.353, allocations: 31.98 kB / 1.095 GB, free: 9.582 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.001104/0.3541, allocations: 447.4 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.3544, allocations: 83.89 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3544, allocations: 0 / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3546, allocations: 43.91 kB / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3548, allocations: 36.66 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.3554, allocations: 237.2 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3557, allocations: 0.7002 MB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.868e-05/0.3558, allocations: 24.86 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.3559, allocations: 23.42 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.3559, allocations: 0 / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of Templates: time 0.005425/0.3613, allocations: 2.039 MB / 1.099 GB, free: 6.09 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