Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 173.3 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.048/1.048, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008164/0.0008164, allocations: 83.39 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.16e-06/5.18e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1443, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.6003, allocations: 135.8 MB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.6005, allocations: 80.08 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0146/0.6151, allocations: 5.667 MB / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.6151, allocations: 4 kB / 1.023 GB, free: 14.37 MB / 0.6511 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.0005217/0.6157, allocations: 444.4 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.6157, allocations: 12.03 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.6158, allocations: 19.8 kB / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.616, allocations: 209.5 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.6161, allocations: 7.906 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.6161, allocations: 0 / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.537e-05/0.6162, allocations: 34.86 kB / 1.024 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.6163, allocations: 91.78 kB / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6163, allocations: 4 kB / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.6164, allocations: 7.938 kB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.6164, allocations: 0 / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.6166, allocations: 184.6 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.6167, allocations: 104.6 kB / 1.024 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.6168, allocations: 45.08 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.6168, allocations: 3.984 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.6169, allocations: 96.39 kB / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.6169, allocations: 4 kB / 1.024 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0002347/0.6172, allocations: 100.5 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.6172, allocations: 132.5 kB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.6174, allocations: 167.1 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.6174, allocations: 25.7 kB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.6175, allocations: 90.75 kB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.6175, allocations: 22.78 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-06/0.6175, allocations: 64 / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.6176, allocations: 333.6 kB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.6177, allocations: 18.81 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.6177, allocations: 54.34 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.6178, allocations: 21.75 kB / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6178, allocations: 11.97 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001575/0.6179, allocations: 106.4 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.618, allocations: 4 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.618, allocations: 7.984 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.618, allocations: 0 / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.6181, allocations: 23.98 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.6181, allocations: 0 / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.6182, allocations: 16 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.6182, allocations: 4 kB / 1.025 GB, free: 11.91 MB / 0.6511 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 6.853e-05/0.6183, allocations: 117 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.6183, allocations: 15.12 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.6185, allocations: 100.1 kB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.6185, allocations: 4 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6185, allocations: 4 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6185, allocations: 0 / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.6187, allocations: 194.3 kB / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.6187, allocations: 0 / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.6188, allocations: 23.92 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6188, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.6188, allocations: 7.984 kB / 1.026 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.6188, allocations: 7.922 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6188, allocations: 0 / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001735/0.619, allocations: 165.8 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.6191, allocations: 96.66 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.6191, allocations: 7.938 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.6192, allocations: 15.98 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.6192, allocations: 11.34 kB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.6192, allocations: 7.984 kB / 1.026 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.018e-05/0.6193, allocations: 124.4 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002417/0.6196, allocations: 43.3 kB / 1.026 GB, free: 10.96 MB / 0.6511 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.0005923/0.6202, allocations: 339.8 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.6203, allocations: 69.61 kB / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.6203, allocations: 0 / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.195e-05/0.6204, allocations: 37.44 kB / 1.026 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.6206, allocations: 27.72 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.621, allocations: 165.6 kB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.6213, allocations: 0.7301 MB / 1.027 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.6213, allocations: 3.938 kB / 1.027 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of Templates: time 0.004081/0.6253, allocations: 1.945 MB / 1.029 GB, free: 7.754 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches