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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009324, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009492/0.0009492, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.901/2.901, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.000358, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7709/0.7713, allocations: 153.6 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002686/0.7741, allocations: 1.359 MB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.7766, allocations: 1.394 MB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.7768, allocations: 0 / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.7773, allocations: 35.83 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.7777, allocations: 55.8 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.7783, allocations: 94.58 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.7785, allocations: 87.81 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.829e-05/0.7786, allocations: 17.05 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.7788, allocations: 47.77 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.779, allocations: 39.84 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.7791, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.7793, allocations: 39.97 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.7793, allocations: 19.91 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.7794, allocations: 41.64 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.7797, allocations: 109.7 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7797, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7797, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.7797, allocations: 0 / 1.024 GB, free: 13.79 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.0008165/0.7805, allocations: 430.8 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.7806, allocations: 15.92 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.7807, allocations: 11.81 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.7811, allocations: 210.9 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.7811, allocations: 8 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.7811, allocations: 4 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.7814, allocations: 105 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7814, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.7815, allocations: 3.984 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.7815, allocations: 4 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.7817, allocations: 51.97 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.782, allocations: 207.4 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.7823, allocations: 127.9 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.7823, allocations: 3.984 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.7826, allocations: 113.9 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/0.7826, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006321/0.7833, allocations: 181.4 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.7834, allocations: 132.5 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.7836, allocations: 171.9 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.7836, allocations: 33.7 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.7837, allocations: 104.3 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.7838, allocations: 23.66 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.7838, allocations: 0 / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7839, allocations: 326.8 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.784, allocations: 35.97 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.7842, allocations: 68.27 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.7843, allocations: 43.92 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7843, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003218/0.7846, allocations: 137.5 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.7847, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.7847, allocations: 3.953 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.7847, allocations: 4 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.7849, allocations: 23.92 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7849, allocations: 8.078 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.785, allocations: 15.84 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.785, allocations: 8 kB / 1.027 GB, free: 10.92 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 ($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.0001404/0.7852, allocations: 123.7 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.7852, allocations: 11.91 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.7853, allocations: 21.39 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.7853, allocations: 7.953 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7853, allocations: 4 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.7853, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.7855, allocations: 209.4 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.7855, allocations: 0 / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.7856, allocations: 19.97 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.7857, allocations: 7.938 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7857, allocations: 0 / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.7857, allocations: 4.188 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7857, allocations: 3.953 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.7861, allocations: 198.1 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.7861, allocations: 101.2 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.7862, allocations: 4 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.7863, allocations: 12 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.7863, allocations: 7.984 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.7863, allocations: 7.938 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001223/0.7865, allocations: 140.2 kB / 1.027 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7865, allocations: 0 / 1.027 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002736/0.7868, allocations: 28 kB / 1.027 GB, free: 9.914 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 (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.00102/0.7878, allocations: 450.9 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.7881, allocations: 91.89 kB / 1.028 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7881, allocations: 0 / 1.028 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.7883, allocations: 47.91 kB / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.7885, allocations: 26.17 kB / 1.028 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.789, allocations: 266.8 kB / 1.028 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.7894, allocations: 0.7043 MB / 1.029 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.7895, allocations: 24.84 kB / 1.029 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.7895, allocations: 19.42 kB / 1.029 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7895, allocations: 4 kB / 1.029 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of Templates: time 0.004933/0.7945, allocations: 1.861 MB / 1.031 GB, free: 6.559 MB / 0.7794 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