Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008667/0.0008664, allocations: 86.25 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.0009593/0.0009593, 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.55/1.55, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437.7 MB / 0.7117 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004324, allocations: 8 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.786, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002027/0.7881, allocations: 1.375 MB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.7902, allocations: 1.402 MB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.7903, allocations: 7.938 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.7906, allocations: 27.91 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.7909, allocations: 55.75 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.7912, allocations: 95.52 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.7915, allocations: 111.6 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.504e-05/0.7915, allocations: 13.11 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.7917, allocations: 47.78 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.7919, allocations: 53.3 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.7919, allocations: 4 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.7921, allocations: 47.98 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.7922, allocations: 23.84 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.7922, allocations: 45.64 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.7924, allocations: 105.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7924, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.086e-06/0.7924, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7924, allocations: 7.938 kB / 1.026 GB, free: 12.58 MB / 0.7794 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.0005983/0.7931, allocations: 426.8 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7931, allocations: 8.562 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.7932, allocations: 11.81 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.7934, allocations: 210.9 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.7935, allocations: 4 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.7935, allocations: 4 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.7937, allocations: 117 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7938, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.7938, allocations: 3.984 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.7938, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.7941, allocations: 67.89 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.7944, allocations: 199.5 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.7948, allocations: 127.8 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.7949, allocations: 46.62 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.795, allocations: 11.98 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.7954, allocations: 117.8 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.7954, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006953/0.7961, allocations: 173.4 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.7962, allocations: 136.5 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.7965, allocations: 171.6 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.7965, allocations: 33.7 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.7966, allocations: 100.1 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.7967, allocations: 23.66 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.7967, allocations: 7.938 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7968, allocations: 322.8 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.797, allocations: 35.97 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.7972, allocations: 72.2 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.7974, allocations: 44.02 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.7974, allocations: 0 / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004462/0.7978, allocations: 133.4 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.7979, allocations: 12.14 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.7979, allocations: 0 / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.7979, allocations: 4.031 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.7981, allocations: 31.92 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7981, allocations: 3.984 kB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.7982, allocations: 8 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.7983, allocations: 8 kB / 1.028 GB, free: 9.656 MB / 0.7794 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 0.0002144/0.7985, allocations: 121.8 kB / 1.028 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.7985, allocations: 11.91 kB / 1.028 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.475e-05/0.7986, allocations: 25.36 kB / 1.028 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.7986, allocations: 7.984 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7986, allocations: 0 / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.7986, allocations: 0 / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.7989, allocations: 213.4 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.7989, allocations: 0 / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.799, allocations: 16.3 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.799, allocations: 4 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.7991, allocations: 4 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.7991, allocations: 3.953 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.7991, allocations: 8 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.7996, allocations: 166.6 kB / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.7997, allocations: 96.92 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.7997, allocations: 3.984 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.7998, allocations: 12 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.7999, allocations: 11.94 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.7999, allocations: 4 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001539/0.8001, allocations: 136.7 kB / 1.029 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8001, allocations: 0 / 1.029 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004329/0.8005, allocations: 35.94 kB / 1.029 GB, free: 8.691 MB / 0.7794 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.001597/0.8022, allocations: 457 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004108/0.8026, allocations: 95.83 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8026, allocations: 0 / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.8028, allocations: 47.91 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.8033, allocations: 28.59 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.804, allocations: 266.8 kB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.8045, allocations: 0.7081 MB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.8046, allocations: 20.86 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.8047, allocations: 19.42 kB / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.8047, allocations: 0 / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of Templates: time 0.007652/0.8124, allocations: 1.877 MB / 1.033 GB, free: 5.316 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches