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.00085/0.0008501, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005121/0.005122, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.49/1.49, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.997/2.997, allocations: 470.6 MB / 0.7442 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 10.84 kB / 0.9123 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3285, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002375/0.331, allocations: 1.402 MB / 1.071 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3333, allocations: 1.46 MB / 1.073 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.3334, allocations: 0 / 1.073 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.3338, allocations: 35.83 kB / 1.073 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.334, allocations: 51.77 kB / 1.073 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.3343, allocations: 97.2 kB / 1.073 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.3345, allocations: 119.6 kB / 1.073 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.3346, allocations: 17.06 kB / 1.073 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3347, allocations: 47.77 kB / 1.073 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.3349, allocations: 47.77 kB / 1.073 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.335, allocations: 4 kB / 1.073 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3351, allocations: 59.97 kB / 1.073 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.3352, allocations: 19.86 kB / 1.073 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.3353, allocations: 69.42 kB / 1.073 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.3355, allocations: 147.8 kB / 1.073 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3355, allocations: 3.938 kB / 1.073 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3355, allocations: 4 kB / 1.073 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3355, allocations: 4 kB / 1.073 GB, free: 7.816 MB / 0.8262 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.0006557/0.3362, allocations: 419 kB / 1.074 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3363, allocations: 11.97 kB / 1.074 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.3363, allocations: 12.84 kB / 1.074 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.3366, allocations: 223.9 kB / 1.074 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3366, allocations: 12.38 kB / 1.074 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3367, allocations: 4.125 kB / 1.074 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3369, allocations: 97.08 kB / 1.074 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3369, allocations: 0 / 1.074 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.337, allocations: 4 kB / 1.074 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.337, allocations: 8 kB / 1.074 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.3372, allocations: 59.88 kB / 1.074 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.3375, allocations: 207.4 kB / 1.074 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.3379, allocations: 119.8 kB / 1.075 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.338, allocations: 58.56 kB / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.338, allocations: 4 kB / 1.075 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.3384, allocations: 113.9 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.542e-06/0.3384, allocations: 4 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005506/0.3389, allocations: 173.5 kB / 1.075 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/0.339, allocations: 136.7 kB / 1.075 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.3392, allocations: 174.4 kB / 1.075 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3393, allocations: 33.7 kB / 1.075 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.3394, allocations: 96.14 kB / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.3394, allocations: 27.69 kB / 1.075 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.3394, allocations: 17.72 kB / 1.075 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3396, allocations: 318.8 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3398, allocations: 43.97 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3399, allocations: 64.27 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.3402, allocations: 107.4 kB / 1.076 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3402, allocations: 0 / 1.076 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003408/0.3405, allocations: 149.3 kB / 1.076 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3406, allocations: 8 kB / 1.076 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3406, allocations: 0 / 1.076 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3406, allocations: 3.938 kB / 1.076 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3407, allocations: 24.17 kB / 1.076 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3407, allocations: 0 / 1.076 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.3408, allocations: 19.97 kB / 1.076 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3409, allocations: 7.984 kB / 1.076 GB, free: 4.789 MB / 0.8262 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.0001285/0.341, allocations: 127 kB / 1.076 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.341, allocations: 19.75 kB / 1.076 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.3411, allocations: 17.39 kB / 1.076 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3411, allocations: 0 / 1.076 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3411, allocations: 4 kB / 1.076 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3411, allocations: 0 / 1.076 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.3414, allocations: 201.5 kB / 1.076 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3414, allocations: 4 kB / 1.076 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.3415, allocations: 19.98 kB / 1.076 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3415, allocations: 0 / 1.076 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3415, allocations: 4 kB / 1.076 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3415, allocations: 0 / 1.076 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3415, allocations: 0 / 1.076 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3419, allocations: 182.8 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.342, allocations: 93 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.342, allocations: 8 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.3421, allocations: 11.98 kB / 1.077 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3422, allocations: 12 kB / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3422, allocations: 7.984 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001292/0.3423, allocations: 132.2 kB / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3423, allocations: 0 / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002569/0.3426, allocations: 35.98 kB / 1.077 GB, free: 3.828 MB / 0.8262 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.001706/0.3443, allocations: 450.5 kB / 1.077 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.3446, allocations: 91.88 kB / 1.077 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3447, allocations: 4.188 kB / 1.077 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.3448, allocations: 47.91 kB / 1.077 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3451, allocations: 38.25 kB / 1.077 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.3457, allocations: 270.9 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.346, allocations: 0.7004 MB / 1.078 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.758e-05/0.3461, allocations: 24.86 kB / 1.078 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.3462, allocations: 15.44 kB / 1.078 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of SimCode: time 2.294e-06/0.3462, allocations: 0 / 1.078 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of Templates: time 0.005786/0.352, allocations: 1.906 MB / 1.08 GB, free: 432 kB / 0.8262 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=400 -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