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.001459/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00199/0.00199, allocations: 196.3 kB / 16.14 MB, free: 6.711 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.527 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.518/2.518, allocations: 390.2 MB / 0.6642 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7835, allocations: 140.4 MB / 0.9489 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003022/0.7866, allocations: 1.729 MB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.7885, allocations: 1.474 MB / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.7886, allocations: 1.375 kB / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.7889, allocations: 32.22 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.7892, allocations: 53.52 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.7895, allocations: 100.2 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.7897, allocations: 117.7 kB / 0.9523 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.7898, allocations: 23.34 kB / 0.9524 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.7899, allocations: 52.22 kB / 0.9524 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.7901, allocations: 50.8 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.7902, allocations: 3.188 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.7903, allocations: 61.39 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.7904, allocations: 19.02 kB / 0.9525 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.7904, allocations: 37.95 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.7907, allocations: 147.2 kB / 0.9527 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7907, allocations: 0 / 0.9527 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7907, allocations: 0 / 0.9527 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7907, allocations: 9.344 kB / 0.9527 GB, free: 6.188 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.000603/0.7913, allocations: 437.9 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.7914, allocations: 10.09 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.232e-05/0.7915, allocations: 14.66 kB / 0.9532 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.7917, allocations: 220.3 kB / 0.9534 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.7918, allocations: 7.031 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.7918, allocations: 9.438 kB / 0.9534 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.792, allocations: 101.2 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.792, allocations: 0 / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.7921, allocations: 1.188 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7921, allocations: 1.125 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.7922, allocations: 55.58 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.7925, allocations: 210.2 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.7927, allocations: 112.7 kB / 0.9539 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.7929, allocations: 57.81 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.7929, allocations: 9.266 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.7932, allocations: 112.8 kB / 0.954 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.7932, allocations: 4 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004937/0.7937, allocations: 154.2 kB / 0.9542 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.7938, allocations: 130 kB / 0.9543 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.7939, allocations: 176.1 kB / 0.9545 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.7939, allocations: 27.02 kB / 0.9545 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.794, allocations: 109.5 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.794, allocations: 23.88 kB / 0.9546 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.7941, allocations: 24.86 kB / 0.9547 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.7941, allocations: 325.6 kB / 0.955 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.7942, allocations: 29.23 kB / 0.955 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.7943, allocations: 70.02 kB / 0.9551 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.7945, allocations: 90.69 kB / 0.9551 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7946, allocations: 0 / 0.9551 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002813/0.7948, allocations: 139.7 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.7949, allocations: 6.156 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.7949, allocations: 1.094 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7949, allocations: 0.9688 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.795, allocations: 20.8 kB / 0.9553 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.795, allocations: 5.125 kB / 0.9553 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.7951, allocations: 14.14 kB / 0.9553 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.7951, allocations: 3.562 kB / 0.9553 GB, free: 3.746 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 9.141e-05/0.7952, allocations: 140.5 kB / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.7953, allocations: 17.58 kB / 0.9555 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.7953, allocations: 14.22 kB / 0.9555 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7953, allocations: 1.281 kB / 0.9555 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7954, allocations: 1.125 kB / 0.9555 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.7954, allocations: 1.375 kB / 0.9555 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.7955, allocations: 209.2 kB / 0.9557 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7955, allocations: 1.188 kB / 0.9557 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.7956, allocations: 14.11 kB / 0.9557 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.7956, allocations: 5 kB / 0.9557 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.7956, allocations: 2.281 kB / 0.9557 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.7956, allocations: 9.016 kB / 0.9557 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7956, allocations: 1.031 kB / 0.9557 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.7959, allocations: 175.7 kB / 0.9559 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.796, allocations: 84.3 kB / 0.956 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.796, allocations: 6.094 kB / 0.956 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.7961, allocations: 12.61 kB / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.7961, allocations: 4.5 kB / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.7962, allocations: 7.297 kB / 0.956 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.938e-05/0.7963, allocations: 133.7 kB / 0.9561 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7963, allocations: 3.938 kB / 0.9561 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002557/0.7965, allocations: 30.33 kB / 0.9562 GB, free: 2.977 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.001055/0.7976, allocations: 455.3 kB / 0.9566 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.7979, allocations: 83.11 kB / 0.9567 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7979, allocations: 1.031 kB / 0.9567 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.798, allocations: 45.16 kB / 0.9567 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.7983, allocations: 29.7 kB / 0.9567 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.7988, allocations: 264.5 kB / 0.957 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.7989, allocations: 0.7018 MB / 0.9577 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.852e-05/0.799, allocations: 23.52 kB / 0.9577 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.7991, allocations: 22.61 kB / 0.9577 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of SimCode: time 8.11e-07/0.7991, allocations: 3.844 kB / 0.9577 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.004758/0.8038, allocations: 1.933 MB / 0.9596 GB, free: 0.7461 MB / 0.7169 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