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.0009829/0.0009829, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001217/0.001217, allocations: 172.7 kB / 15.95 MB, free: 192 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.624/1.624, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.798/2.798, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 8.688 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3814, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002789/0.3843, allocations: 1.377 MB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.3872, allocations: 1.398 MB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.3873, allocations: 4 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.3877, allocations: 35.83 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.388, allocations: 47.77 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.3884, allocations: 95.75 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.3887, allocations: 115.6 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.3888, allocations: 5.125 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.389, allocations: 51.77 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.3892, allocations: 48.88 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3892, allocations: 4 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.3894, allocations: 55.97 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.3895, allocations: 19.91 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.3896, allocations: 41.64 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.3898, allocations: 104.1 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3899, allocations: 3.938 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3899, allocations: 0 / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3899, allocations: 0 / 1.061 GB, free: 1.906 MB / 0.8106 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.0008408/0.3907, allocations: 430.9 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3908, allocations: 11.97 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.3909, allocations: 15.81 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.3912, allocations: 202.9 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3913, allocations: 0 / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.3913, allocations: 7.953 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.3916, allocations: 109 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3916, allocations: 0 / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3916, allocations: 0 / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3917, allocations: 0 / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.3919, allocations: 63.89 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.3923, allocations: 215.4 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.3927, allocations: 119.8 kB / 1.062 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.3929, allocations: 54.55 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.3929, allocations: 11.94 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.3933, allocations: 113.8 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.3933, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0006981/0.394, allocations: 177.5 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3941, allocations: 132.5 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.3944, allocations: 175.9 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3945, allocations: 29.7 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.3946, allocations: 108.1 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.3946, allocations: 27.86 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.3946, allocations: 0 / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3948, allocations: 326.8 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.395, allocations: 27.98 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3952, allocations: 76.2 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3954, allocations: 35.98 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3954, allocations: 0 / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004583/0.3958, allocations: 149.7 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3959, allocations: 4 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3959, allocations: 0 / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3959, allocations: 4 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.3961, allocations: 31.92 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3961, allocations: 0 / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3963, allocations: 20.02 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3963, allocations: 4 kB / 1.064 GB, free: 14.97 MB / 0.8262 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.0001574/0.3965, allocations: 123.2 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.3965, allocations: 19.77 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.3966, allocations: 21.33 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3966, allocations: 4 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3966, allocations: 0 / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3966, allocations: 0 / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.3969, allocations: 205.6 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3969, allocations: 0 / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.397, allocations: 19.92 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.3971, allocations: 7.938 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3971, allocations: 7.953 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.3971, allocations: 4 kB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3971, allocations: 0 / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.3976, allocations: 166.7 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.3977, allocations: 96.91 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.3977, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.3979, allocations: 19.94 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.3979, allocations: 11.92 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.398, allocations: 8 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001884/0.3982, allocations: 127.2 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3982, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004951/0.3987, allocations: 35.98 kB / 1.065 GB, free: 14.01 MB / 0.8262 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.001665/0.4004, allocations: 451.8 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.4008, allocations: 96 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4008, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.401, allocations: 51.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.4015, allocations: 22.75 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.4022, allocations: 259.1 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.4026, allocations: 0.7121 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.4028, allocations: 21.12 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.4029, allocations: 19.38 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.4029, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.007038/0.4099, allocations: 1.872 MB / 1.068 GB, free: 10.66 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches