Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.312/2.312, allocations: 390.3 MB / 402.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 221.3 MB / 0.7915 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000938/0.0009379, allocations: 94.5 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.164e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2836, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.973/1.257, allocations: 154.3 MB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.257, allocations: 79.33 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01885/1.276, allocations: 4.668 MB / 1.374 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.406e-06/1.276, allocations: 0 / 1.374 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.359e-05/1.276, allocations: 0 / 1.374 GB, free: 12.1 MB / 0.8386 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.0009105/1.277, allocations: 423.4 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.734e-05/1.277, allocations: 12.03 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/1.277, allocations: 15.77 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/1.278, allocations: 210.5 kB / 1.375 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/1.278, allocations: 4 kB / 1.375 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/1.278, allocations: 3.938 kB / 1.375 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/1.278, allocations: 102.5 kB / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/1.278, allocations: 0 / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/1.278, allocations: 0 / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/1.278, allocations: 4 kB / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/1.278, allocations: 40.69 kB / 1.375 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/1.279, allocations: 215 kB / 1.375 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/1.279, allocations: 108.6 kB / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/1.279, allocations: 40.52 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/1.279, allocations: 3.984 kB / 1.375 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/1.28, allocations: 108.2 kB / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.625e-06/1.28, allocations: 0 / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004681/1.28, allocations: 105.8 kB / 1.375 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/1.28, allocations: 136.5 kB / 1.375 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/1.281, allocations: 166.2 kB / 1.376 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/1.281, allocations: 28.77 kB / 1.376 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/1.281, allocations: 105.7 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/1.281, allocations: 27.2 kB / 1.376 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/1.281, allocations: 0 / 1.376 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.281, allocations: 333.6 kB / 1.376 GB, free: 9.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/1.281, allocations: 17.75 kB / 1.376 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/1.281, allocations: 61.22 kB / 1.376 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/1.281, allocations: 30.95 kB / 1.376 GB, free: 9.742 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/1.282, allocations: 0 / 1.376 GB, free: 9.742 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002843/1.282, allocations: 112.2 kB / 1.376 GB, free: 9.645 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/1.282, allocations: 9.094 kB / 1.376 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.282, allocations: 0 / 1.376 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/1.282, allocations: 0 / 1.376 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/1.282, allocations: 32.02 kB / 1.376 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.282, allocations: 0 / 1.376 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/1.282, allocations: 15.11 kB / 1.376 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/1.282, allocations: 4 kB / 1.376 GB, free: 9.59 MB / 0.8386 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 () * 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.0001628/1.282, allocations: 116.8 kB / 1.377 GB, free: 9.473 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/1.283, allocations: 15.81 kB / 1.377 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/1.283, allocations: 126.5 kB / 1.377 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.283, allocations: 4 kB / 1.377 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.283, allocations: 3.938 kB / 1.377 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.283, allocations: 7.984 kB / 1.377 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/1.283, allocations: 206.7 kB / 1.377 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/1.283, allocations: 4.125 kB / 1.377 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/1.283, allocations: 19.98 kB / 1.377 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.158e-06/1.283, allocations: 4 kB / 1.377 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/1.283, allocations: 3.984 kB / 1.377 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.283, allocations: 0 / 1.377 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.283, allocations: 7.938 kB / 1.377 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/1.284, allocations: 180.1 kB / 1.377 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.152e-05/1.284, allocations: 100.2 kB / 1.377 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/1.284, allocations: 4 kB / 1.377 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/1.284, allocations: 19.05 kB / 1.377 GB, free: 8.738 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/1.284, allocations: 12.22 kB / 1.377 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/1.284, allocations: 7 kB / 1.377 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001945/1.284, allocations: 137.4 kB / 1.377 GB, free: 8.605 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.284, allocations: 3.938 kB / 1.377 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004447/1.285, allocations: 35.19 kB / 1.377 GB, free: 8.57 MB / 0.8386 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001548/1.286, allocations: 415 kB / 1.378 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002818/1.287, allocations: 73.73 kB / 1.378 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.287, allocations: 0 / 1.378 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/1.287, allocations: 39.55 kB / 1.378 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/1.287, allocations: 30.12 kB / 1.378 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/1.288, allocations: 169.2 kB / 1.378 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/1.288, allocations: 0.7082 MB / 1.379 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001229/1.288, allocations: 25.14 kB / 1.379 GB, free: 7.254 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/1.289, allocations: 23.36 kB / 1.379 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/1.289, allocations: 4 kB / 1.379 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of Templates: time 0.007314/1.296, allocations: 1.967 MB / 1.381 GB, free: 5.293 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches