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.001233/0.001233, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001375/0.001375, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.41 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.516/2.516, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 8.219 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6866/0.687, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001874/0.6889, allocations: 1.367 MB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.6908, allocations: 1.384 MB / 0.9571 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.691, allocations: 0.9062 kB / 0.9571 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.6913, allocations: 43.67 kB / 0.9572 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.6915, allocations: 49.73 kB / 0.9572 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.6918, allocations: 98.48 kB / 0.9573 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.692, allocations: 108.3 kB / 0.9574 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.6921, allocations: 18.72 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.6923, allocations: 49.12 kB / 0.9575 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.6925, allocations: 44.98 kB / 0.9575 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.6925, allocations: 7.312 kB / 0.9575 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.6926, allocations: 53.41 kB / 0.9576 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.6927, allocations: 17.02 kB / 0.9576 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.6927, allocations: 43.75 kB / 0.9576 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.6929, allocations: 106.3 kB / 0.9577 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6929, allocations: 2 kB / 0.9577 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/0.693, allocations: 0 / 0.9577 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.693, allocations: 0 / 0.9577 GB, free: 5.195 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.0005972/0.6936, allocations: 436.8 kB / 0.9582 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6936, allocations: 9.094 kB / 0.9582 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.6937, allocations: 21.7 kB / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.6939, allocations: 212.8 kB / 0.9584 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.6939, allocations: 1.438 kB / 0.9584 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.694, allocations: 5.625 kB / 0.9584 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.6942, allocations: 108.2 kB / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6942, allocations: 1.625 kB / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.6942, allocations: 4 kB / 0.9585 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6943, allocations: 1.688 kB / 0.9585 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.6944, allocations: 62.56 kB / 0.9586 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.6947, allocations: 202.8 kB / 0.9588 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.695, allocations: 119.1 kB / 0.9589 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.6951, allocations: 57.3 kB / 0.9589 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.6952, allocations: 5.156 kB / 0.9589 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.6955, allocations: 120.8 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.6955, allocations: 0 / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005066/0.696, allocations: 180 kB / 0.9592 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.6961, allocations: 131.3 kB / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.6962, allocations: 178.4 kB / 0.9595 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.6962, allocations: 27.08 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.6963, allocations: 105.6 kB / 0.9596 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.6963, allocations: 26.56 kB / 0.9597 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.6963, allocations: 1.375 kB / 0.9597 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.6964, allocations: 325.6 kB / 0.96 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.6965, allocations: 36.59 kB / 0.96 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.732e-05/0.6966, allocations: 72.95 kB / 0.9601 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.6967, allocations: 39.36 kB / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6967, allocations: 1.375 kB / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000259/0.697, allocations: 134.2 kB / 0.9602 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.697, allocations: 5.5 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.697, allocations: 5.359 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.697, allocations: 1.375 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6972, allocations: 25.8 kB / 0.9603 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6972, allocations: 1.375 kB / 0.9603 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.6973, allocations: 16.25 kB / 0.9603 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.6973, allocations: 8.078 kB / 0.9603 GB, free: 2.816 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.6974, allocations: 126.6 kB / 0.9604 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.6974, allocations: 10.78 kB / 0.9604 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.6974, allocations: 22.83 kB / 0.9605 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6975, allocations: 1.25 kB / 0.9605 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6975, allocations: 1.688 kB / 0.9605 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6975, allocations: 5.312 kB / 0.9605 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.6976, allocations: 213.4 kB / 0.9607 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6976, allocations: 0 / 0.9607 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.6977, allocations: 24.52 kB / 0.9607 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6977, allocations: 1.312 kB / 0.9607 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.6977, allocations: 1.312 kB / 0.9607 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6977, allocations: 2.031 kB / 0.9607 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6977, allocations: 0.9062 kB / 0.9607 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.698, allocations: 173.5 kB / 0.9609 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.6981, allocations: 97.5 kB / 0.961 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.6981, allocations: 6.875 kB / 0.961 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.6982, allocations: 14.27 kB / 0.961 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.6982, allocations: 12.81 kB / 0.961 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.6983, allocations: 7.234 kB / 0.961 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.357e-05/0.6984, allocations: 132.1 kB / 0.9611 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6984, allocations: 0.9688 kB / 0.9611 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002542/0.6986, allocations: 33.86 kB / 0.9612 GB, free: 2.043 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/0.6996, allocations: 461.2 kB / 0.9616 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.6999, allocations: 90.67 kB / 0.9617 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6999, allocations: 0 / 0.9617 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.7, allocations: 48.88 kB / 0.9617 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.7003, allocations: 24.81 kB / 0.9618 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.7007, allocations: 265.3 kB / 0.962 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.7009, allocations: 0.7059 MB / 0.9627 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.372e-05/0.701, allocations: 23.97 kB / 0.9627 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.701, allocations: 16.75 kB / 0.9627 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.701, allocations: 0 / 0.9627 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of Templates: time 0.004317/0.7053, allocations: 1.878 MB / 0.9646 GB, free: 15.84 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/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