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.337/2.337, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001099/0.001099, allocations: 191.6 kB / 0.4902 GB, free: 2.246 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.466/1.466, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.001026/0.001026, allocations: 105.9 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004533, allocations: 7.094 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3363, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/0.5612, allocations: 154.3 MB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/0.5616, allocations: 79.95 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.5752, allocations: 4.86 MB / 1.385 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5753, allocations: 0 / 1.385 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.5753, allocations: 4 kB / 1.385 GB, free: 10.32 MB / 0.8855 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.0007548/0.5761, allocations: 448 kB / 1.385 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.5761, allocations: 8.562 kB / 1.385 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.5762, allocations: 19.86 kB / 1.385 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.5765, allocations: 214.7 kB / 1.385 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.5766, allocations: 4 kB / 1.385 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.5766, allocations: 4 kB / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.5769, allocations: 109.1 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5769, allocations: 0 / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.5769, allocations: 0 / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5769, allocations: 3.938 kB / 1.385 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.5771, allocations: 71.83 kB / 1.386 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.5774, allocations: 215.5 kB / 1.386 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.5777, allocations: 124.9 kB / 1.386 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.5778, allocations: 12.19 kB / 1.386 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.578, allocations: 109.9 kB / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.578, allocations: 0 / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005282/0.5786, allocations: 185.4 kB / 1.386 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.5787, allocations: 132.5 kB / 1.386 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.5789, allocations: 171.3 kB / 1.386 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.5789, allocations: 33.7 kB / 1.387 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.579, allocations: 104.1 kB / 1.387 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.5791, allocations: 27.64 kB / 1.387 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.5791, allocations: 4 kB / 1.387 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5792, allocations: 326.8 kB / 1.387 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.5794, allocations: 31.98 kB / 1.387 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.5795, allocations: 72.27 kB / 1.387 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.5797, allocations: 43.97 kB / 1.387 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5797, allocations: 7.969 kB / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003115/0.58, allocations: 141.5 kB / 1.387 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5801, allocations: 4 kB / 1.387 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5801, allocations: 3.938 kB / 1.387 GB, free: 7.453 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.5801, allocations: 4.094 kB / 1.387 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.5802, allocations: 23.98 kB / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5803, allocations: 0 / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.5803, allocations: 15.89 kB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5804, allocations: 4 kB / 1.387 GB, free: 7.406 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.5805, allocations: 129.7 kB / 1.387 GB, free: 7.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.5805, allocations: 11.91 kB / 1.387 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.5808, allocations: 131 kB / 1.388 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5808, allocations: 0 / 1.388 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5808, allocations: 4 kB / 1.388 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5808, allocations: 0 / 1.388 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.581, allocations: 221.4 kB / 1.388 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5811, allocations: 0 / 1.388 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-05/0.5812, allocations: 19.92 kB / 1.388 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5812, allocations: 4.188 kB / 1.388 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.5812, allocations: 0 / 1.388 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.5812, allocations: 12.25 kB / 1.388 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5812, allocations: 0 / 1.388 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.5816, allocations: 214 kB / 1.388 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.5817, allocations: 92.91 kB / 1.388 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.5817, allocations: 4 kB / 1.388 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.5818, allocations: 11.98 kB / 1.388 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.5819, allocations: 11.94 kB / 1.388 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5819, allocations: 8 kB / 1.388 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001279/0.582, allocations: 139.2 kB / 1.388 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.582, allocations: 0 / 1.388 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002639/0.5823, allocations: 36 kB / 1.388 GB, free: 6.254 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001145/0.5834, allocations: 474.6 kB / 1.389 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.5838, allocations: 91.89 kB / 1.389 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5838, allocations: 0 / 1.389 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.5839, allocations: 60.16 kB / 1.389 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.5842, allocations: 35.16 kB / 1.389 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.5847, allocations: 271.4 kB / 1.389 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.585, allocations: 0.7082 MB / 1.39 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.692e-05/0.5851, allocations: 28.95 kB / 1.39 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.5852, allocations: 19.42 kB / 1.39 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5852, allocations: 0 / 1.39 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of Templates: time 0.004888/0.5901, allocations: 1.959 MB / 1.392 GB, free: 2.758 MB / 0.8855 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