Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004974/0.004974, allocations: 95.61 kB / 15.73 MB, free: 6.039 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.001153/0.001153, allocations: 204.6 kB / 16.68 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.905/2.905, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 72.09 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3017, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002986/0.3047, allocations: 1.684 MB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3069, allocations: 1.518 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.3069, allocations: 4 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.3072, allocations: 39.77 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.3075, allocations: 67.62 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.3078, allocations: 111 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.308, allocations: 131.5 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.308, allocations: 5.125 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3081, allocations: 51.78 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.3083, allocations: 59.75 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3083, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3085, allocations: 67.91 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.3085, allocations: 19.92 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.3086, allocations: 39.73 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.3088, allocations: 159.4 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3088, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3088, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3088, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 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.0006286/0.3095, allocations: 450.5 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3095, allocations: 8.031 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.3096, allocations: 16.84 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3098, allocations: 217.1 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3099, allocations: 8.359 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.3099, allocations: 4.125 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.3101, allocations: 101.1 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3101, allocations: 3.938 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3101, allocations: 0 / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3101, allocations: 4 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.3103, allocations: 51.95 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.3105, allocations: 215.4 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.3108, allocations: 107.8 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3109, allocations: 54.55 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3109, allocations: 7.938 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.3112, allocations: 105.9 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.3112, allocations: 4 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004683/0.3116, allocations: 165.5 kB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.3117, allocations: 128.5 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.3119, allocations: 178.4 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3119, allocations: 29.64 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3119, allocations: 108.1 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.312, allocations: 20.11 kB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.312, allocations: 29.7 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3121, allocations: 322.8 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3122, allocations: 35.97 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.3123, allocations: 56.28 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.3126, allocations: 103.4 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3126, allocations: 0 / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003082/0.3129, allocations: 141.4 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3129, allocations: 4 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3129, allocations: 0 / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3129, allocations: 4 kB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.313, allocations: 19.98 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.313, allocations: 3.984 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.3131, allocations: 11.89 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3131, allocations: 4 kB / 1.227 GB, free: 6.836 MB / 0.9825 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.0001092/0.3132, allocations: 138.3 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.3133, allocations: 11.95 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.3133, allocations: 25.36 kB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3133, allocations: 4.312 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3133, allocations: 0 / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3133, allocations: 0 / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3135, allocations: 217.5 kB / 1.227 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3135, allocations: 0 / 1.227 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.3136, allocations: 15.98 kB / 1.227 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3136, allocations: 0 / 1.227 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3136, allocations: 8 kB / 1.227 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3136, allocations: 0 / 1.227 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3136, allocations: 0 / 1.227 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.3139, allocations: 162.6 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.314, allocations: 89.02 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.314, allocations: 12 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.3141, allocations: 7.984 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3141, allocations: 7.984 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3141, allocations: 8 kB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001232/0.3142, allocations: 128.4 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3142, allocations: 0 / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002544/0.3145, allocations: 39.86 kB / 1.228 GB, free: 5.867 MB / 0.9825 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.0009688/0.3155, allocations: 443.6 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.3158, allocations: 87.81 kB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3158, allocations: 4.188 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3159, allocations: 35.98 kB / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3162, allocations: 46.69 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.3167, allocations: 248.5 kB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3169, allocations: 0.7042 MB / 1.229 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.464e-05/0.317, allocations: 20.86 kB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.317, allocations: 19.44 kB / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.317, allocations: 0 / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of Templates: time 0.005048/0.3221, allocations: 2.051 MB / 1.231 GB, free: 2.355 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches