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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001448/0.001448, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001788/0.001788, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.89 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6393/0.6405, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002861/0.6434, allocations: 1.737 MB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.6454, allocations: 1.487 MB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.6454, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.6457, allocations: 39.83 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.6459, allocations: 47.77 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.6462, allocations: 99.77 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.6464, allocations: 123.6 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.6464, allocations: 9.109 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.6465, allocations: 51.78 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.6467, allocations: 55.69 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.6468, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.6469, allocations: 55.97 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.647, allocations: 19.92 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.647, allocations: 39.73 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.6472, allocations: 149.5 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6473, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6473, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.6473, allocations: 0 / 1.02 GB, free: 14.84 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.0006049/0.6479, allocations: 438.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.6479, allocations: 12.03 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.648, allocations: 12.78 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.6482, allocations: 208.1 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.6482, allocations: 12.36 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.6483, allocations: 8.125 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.6485, allocations: 97.02 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6485, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.6485, allocations: 8 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6485, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.6487, allocations: 51.95 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.649, allocations: 207.3 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.6492, allocations: 119.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.6494, allocations: 50.55 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.6494, allocations: 8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.6496, allocations: 117.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.6497, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004594/0.6501, allocations: 153.5 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.6502, allocations: 128.5 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.6504, allocations: 175.6 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.6504, allocations: 37.7 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.6505, allocations: 100.1 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.6505, allocations: 23.66 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.6506, allocations: 29.7 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6507, allocations: 322.8 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.6508, allocations: 27.98 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.6509, allocations: 68.2 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.6511, allocations: 99.58 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6512, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002952/0.6515, allocations: 137.4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6515, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6515, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.6515, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.6516, allocations: 23.98 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6517, allocations: 3.938 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.6518, allocations: 16.02 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.6518, allocations: 4 kB / 1.023 GB, free: 11.87 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 ($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.0001196/0.6519, allocations: 130.3 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.6519, allocations: 15.81 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.652, allocations: 13.41 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.652, allocations: 7.984 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.652, allocations: 3.984 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.652, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.6522, allocations: 209.5 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6522, allocations: 0 / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/0.6523, allocations: 16 kB / 1.023 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6523, allocations: 3.984 kB / 1.023 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.6523, allocations: 8 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6523, allocations: 0 / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6523, allocations: 3.938 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.6527, allocations: 166.5 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.6527, allocations: 85.2 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.6528, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.6529, allocations: 15.92 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.6529, allocations: 7.984 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.6529, allocations: 8.062 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000112/0.6531, allocations: 132.8 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6531, allocations: 4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002449/0.6533, allocations: 35.98 kB / 1.024 GB, free: 10.91 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 (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.001081/0.6544, allocations: 460.7 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.6547, allocations: 87.88 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6547, allocations: 0 / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.6549, allocations: 39.92 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.6551, allocations: 31.91 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.6556, allocations: 266.9 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.6559, allocations: 0.7121 MB / 1.025 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.375e-05/0.656, allocations: 16.88 kB / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.6561, allocations: 23.38 kB / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6561, allocations: 0 / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.004708/0.6608, allocations: 1.935 MB / 1.027 GB, free: 7.5 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