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.418/2.418, allocations: 390.5 MB / 398 MB, free: 10.97 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.001224/0.001224, allocations: 176.9 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009479/0.0009476, allocations: 98.7 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.702e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3016, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.306, allocations: 153.6 MB / 1.362 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.307, allocations: 79.58 kB / 1.362 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01176/1.318, allocations: 4.546 MB / 1.367 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.318, allocations: 4 kB / 1.367 GB, free: 33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.318, allocations: 3.656 kB / 1.367 GB, free: 33 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.0004961/1.319, allocations: 408.7 kB / 1.367 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.319, allocations: 7.812 kB / 1.367 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/1.319, allocations: 22.12 kB / 1.367 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/1.319, allocations: 215.9 kB / 1.367 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/1.319, allocations: 8.5 kB / 1.367 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/1.319, allocations: 3.938 kB / 1.367 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001127/1.32, allocations: 31.27 kB / 1.367 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/1.32, allocations: 90.72 kB / 1.368 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.32, allocations: 0 / 1.368 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/1.32, allocations: 3.984 kB / 1.368 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.32, allocations: 3.953 kB / 1.368 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/1.32, allocations: 192 kB / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/1.32, allocations: 105.8 kB / 1.368 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/1.32, allocations: 40.27 kB / 1.368 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/1.32, allocations: 11.06 kB / 1.368 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/1.32, allocations: 96.55 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/1.32, allocations: 0 / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002408/1.321, allocations: 101.6 kB / 1.368 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/1.321, allocations: 139.9 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.321, allocations: 164.2 kB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/1.321, allocations: 25.7 kB / 1.368 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/1.321, allocations: 99.67 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/1.321, allocations: 26.09 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/1.321, allocations: 0 / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.321, allocations: 327.7 kB / 1.369 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/1.321, allocations: 22.02 kB / 1.369 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/1.321, allocations: 55.23 kB / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/1.321, allocations: 31.73 kB / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.321, allocations: 0 / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001485/1.321, allocations: 101.8 kB / 1.369 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.321, allocations: 15.75 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.321, allocations: 0 / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.321, allocations: 0 / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/1.322, allocations: 25.27 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.322, allocations: 0 / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/1.322, allocations: 14.91 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.322, allocations: 0 / 1.369 GB, free: 31.12 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 8.621e-05/1.322, allocations: 121.4 kB / 1.369 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/1.322, allocations: 15.16 kB / 1.369 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/1.322, allocations: 115.3 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.322, allocations: 0 / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.322, allocations: 3.938 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.322, allocations: 3.844 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/1.322, allocations: 185.9 kB / 1.37 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.322, allocations: 0 / 1.37 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/1.322, allocations: 18.34 kB / 1.37 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.322, allocations: 7.844 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/1.322, allocations: 7.047 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.322, allocations: 80 / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.322, allocations: 12.08 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/1.323, allocations: 181.1 kB / 1.37 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/1.323, allocations: 95.83 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/1.323, allocations: 0 / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/1.323, allocations: 10.83 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/1.323, allocations: 13.5 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/1.323, allocations: 7.016 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.214e-05/1.323, allocations: 131.9 kB / 1.37 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.323, allocations: 0 / 1.37 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002422/1.323, allocations: 41.66 kB / 1.37 GB, free: 30.46 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.0008851/1.324, allocations: 395 kB / 1.37 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001469/1.324, allocations: 62.73 kB / 1.37 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.324, allocations: 0 / 1.37 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.311e-05/1.324, allocations: 37.19 kB / 1.37 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/1.325, allocations: 23.53 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/1.325, allocations: 175.1 kB / 1.371 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/1.325, allocations: 0.7144 MB / 1.371 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.614e-05/1.325, allocations: 19.92 kB / 1.371 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/1.325, allocations: 17.89 kB / 1.371 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.325, allocations: 0 / 1.371 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.004321/1.33, allocations: 1.879 MB / 1.373 GB, free: 29.19 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