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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001023/0.001028, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001333, allocations: 188 kB / 16.92 MB, free: 6.75 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 8.281 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6173, allocations: 142.4 MB / 0.9557 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001688/0.619, allocations: 1.392 MB / 0.9571 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.6207, allocations: 1.452 MB / 0.9585 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.6208, allocations: 0 / 0.9585 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.621, allocations: 31.64 kB / 0.9585 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.6212, allocations: 53.2 kB / 0.9586 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.6215, allocations: 101 kB / 0.9587 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.6217, allocations: 121.9 kB / 0.9588 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.6217, allocations: 19.94 kB / 0.9588 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.6218, allocations: 51.38 kB / 0.9588 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.622, allocations: 54.09 kB / 0.9589 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.622, allocations: 3.344 kB / 0.9589 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.6222, allocations: 57.8 kB / 0.959 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.6222, allocations: 23.16 kB / 0.959 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.6223, allocations: 72.36 kB / 0.959 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.6225, allocations: 106.5 kB / 0.9591 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6225, allocations: 0 / 0.9591 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6225, allocations: 0 / 0.9591 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6225, allocations: 0 / 0.9591 GB, free: 5.156 MB / 0.7169 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.0005108/0.623, allocations: 429.5 kB / 0.9596 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.623, allocations: 9.344 kB / 0.9596 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.6231, allocations: 14.5 kB / 0.9596 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.6233, allocations: 225.2 kB / 0.9598 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.6233, allocations: 2.375 kB / 0.9598 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.6233, allocations: 10.09 kB / 0.9598 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.6235, allocations: 96.27 kB / 0.9599 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.6236, allocations: 7.938 kB / 0.9599 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.6236, allocations: 5.812 kB / 0.9599 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6236, allocations: 0 / 0.9599 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.6238, allocations: 59.55 kB / 0.96 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.6239, allocations: 205.5 kB / 0.9602 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.6242, allocations: 116.8 kB / 0.9603 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.6243, allocations: 61.86 kB / 0.9603 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.6244, allocations: 5.312 kB / 0.9603 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.6246, allocations: 120.1 kB / 0.9605 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.6246, allocations: 0 / 0.9605 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004634/0.6251, allocations: 173.6 kB / 0.9606 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6251, allocations: 135.2 kB / 0.9607 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.6253, allocations: 175.9 kB / 0.9609 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.6253, allocations: 27.08 kB / 0.9609 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.6253, allocations: 108.2 kB / 0.961 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.6254, allocations: 27.77 kB / 0.9611 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.6254, allocations: 20.45 kB / 0.9611 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.6255, allocations: 321.6 kB / 0.9614 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.6256, allocations: 38.02 kB / 0.9614 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.6257, allocations: 65.02 kB / 0.9615 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.6259, allocations: 102.1 kB / 0.9616 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6259, allocations: 0 / 0.9616 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002817/0.6262, allocations: 155.3 kB / 0.9617 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6262, allocations: 5.5 kB / 0.9617 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6262, allocations: 1.281 kB / 0.9617 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.6263, allocations: 1.344 kB / 0.9617 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.6264, allocations: 22.45 kB / 0.9618 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.6264, allocations: 1.531 kB / 0.9618 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.6265, allocations: 16.11 kB / 0.9618 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.6265, allocations: 3.438 kB / 0.9618 GB, free: 2.715 MB / 0.7169 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.36e-05/0.6266, allocations: 131 kB / 0.9619 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.6266, allocations: 18.73 kB / 0.9619 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.6267, allocations: 18.31 kB / 0.9619 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6267, allocations: 1.312 kB / 0.962 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6267, allocations: 1.438 kB / 0.962 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6267, allocations: 5.344 kB / 0.962 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.6268, allocations: 204.8 kB / 0.9622 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6268, allocations: 1.031 kB / 0.9622 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.6269, allocations: 20.27 kB / 0.9622 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6269, allocations: 0.9688 kB / 0.9622 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.6269, allocations: 6.344 kB / 0.9622 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.627, allocations: 4.891 kB / 0.9622 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.627, allocations: 1 kB / 0.9622 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.6273, allocations: 178.4 kB / 0.9624 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.6273, allocations: 93.3 kB / 0.9624 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.6274, allocations: 1.969 kB / 0.9624 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.6275, allocations: 15.02 kB / 0.9625 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.6275, allocations: 12.52 kB / 0.9625 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.6275, allocations: 4.031 kB / 0.9625 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.743e-05/0.6276, allocations: 137.4 kB / 0.9626 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6276, allocations: 0 / 0.9626 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000266/0.6279, allocations: 30 kB / 0.9626 GB, free: 1.945 MB / 0.7169 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.001017/0.6289, allocations: 451 kB / 0.9631 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.6292, allocations: 99.84 kB / 0.9632 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6293, allocations: 0 / 0.9632 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.6294, allocations: 44.95 kB / 0.9632 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.6297, allocations: 36.14 kB / 0.9632 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.6302, allocations: 305.2 kB / 0.9635 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.6303, allocations: 0.7054 MB / 0.9642 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.6304, allocations: 21.05 kB / 0.9642 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6304, allocations: 0 / 0.9642 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of Templates: time 0.004164/0.6345, allocations: 2.175 MB / 0.9664 GB, free: 15.55 MB / 0.7325 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