Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.009551/0.00955, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001929/0.001929, allocations: 196.4 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.2 MB / 0.6649 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6425, allocations: 140.3 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002569/0.6451, allocations: 1.734 MB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.6468, allocations: 1.48 MB / 0.9527 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.6469, allocations: 0 / 0.9527 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.6471, allocations: 36.98 kB / 0.9528 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.6473, allocations: 53.48 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.6476, allocations: 100.7 kB / 0.9529 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.6477, allocations: 113.1 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.6478, allocations: 14.67 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.6479, allocations: 57.61 kB / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.6481, allocations: 62.72 kB / 0.9531 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.6481, allocations: 2.844 kB / 0.9531 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.6482, allocations: 53.98 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.6483, allocations: 19.64 kB / 0.9532 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.6484, allocations: 42.69 kB / 0.9532 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.6485, allocations: 109.1 kB / 0.9534 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6485, allocations: 1.469 kB / 0.9534 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/0.6485, allocations: 0 / 0.9534 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6486, allocations: 3.938 kB / 0.9534 GB, free: 6.156 MB / 0.7169 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.0005241/0.6491, allocations: 443.2 kB / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.6491, allocations: 9.562 kB / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.6492, allocations: 17.75 kB / 0.9538 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.6494, allocations: 217.8 kB / 0.954 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.6494, allocations: 2.062 kB / 0.954 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.6494, allocations: 6.312 kB / 0.954 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.6496, allocations: 100.2 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6496, allocations: 0.9688 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.6497, allocations: 1.156 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.6497, allocations: 5.203 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.6498, allocations: 47.84 kB / 0.9542 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.65, allocations: 213.8 kB / 0.9544 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.6503, allocations: 115.9 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.6504, allocations: 57.58 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.6504, allocations: 5.406 kB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.6507, allocations: 109.5 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.6507, allocations: 0 / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004489/0.6512, allocations: 162.3 kB / 0.9548 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.6512, allocations: 133.8 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.6513, allocations: 171.8 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.6514, allocations: 27.02 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.6514, allocations: 105.3 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.6514, allocations: 27.11 kB / 0.9552 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.6515, allocations: 21.31 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.6515, allocations: 330.8 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.6517, allocations: 28.91 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.6518, allocations: 70.39 kB / 0.9557 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.652, allocations: 94.03 kB / 0.9558 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.652, allocations: 0 / 0.9558 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002707/0.6522, allocations: 136.5 kB / 0.9559 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6523, allocations: 5.312 kB / 0.9559 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6523, allocations: 5.406 kB / 0.9559 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6523, allocations: 1.188 kB / 0.9559 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.6524, allocations: 19.86 kB / 0.9559 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.6524, allocations: 5.375 kB / 0.9559 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.6525, allocations: 13.88 kB / 0.9559 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.6525, allocations: 12.31 kB / 0.956 GB, free: 3.707 MB / 0.7169 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.6526, allocations: 126.4 kB / 0.9561 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.6527, allocations: 19.03 kB / 0.9561 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.6527, allocations: 21.77 kB / 0.9561 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6527, allocations: 2.969 kB / 0.9561 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.6527, allocations: 320 / 0.9561 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6527, allocations: 1.75 kB / 0.9561 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.6529, allocations: 208.5 kB / 0.9563 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6529, allocations: 4.938 kB / 0.9563 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.653, allocations: 14.42 kB / 0.9563 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.653, allocations: 1.094 kB / 0.9563 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.653, allocations: 1.969 kB / 0.9563 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.653, allocations: 1.938 kB / 0.9563 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.653, allocations: 7.938 kB / 0.9564 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.6533, allocations: 167.6 kB / 0.9565 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.6533, allocations: 84.73 kB / 0.9566 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.6534, allocations: 5.922 kB / 0.9566 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.6535, allocations: 8.969 kB / 0.9566 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.6535, allocations: 12.23 kB / 0.9566 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.6535, allocations: 3.125 kB / 0.9566 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.137e-05/0.6536, allocations: 137.4 kB / 0.9568 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6536, allocations: 1.156 kB / 0.9568 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002528/0.6539, allocations: 30.09 kB / 0.9568 GB, free: 2.949 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009886/0.6549, allocations: 455.5 kB / 0.9572 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.6552, allocations: 79.73 kB / 0.9573 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6552, allocations: 1.125 kB / 0.9573 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.6553, allocations: 48.16 kB / 0.9573 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.6556, allocations: 40.12 kB / 0.9574 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.6561, allocations: 292 kB / 0.9577 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.6562, allocations: 0.7021 MB / 0.9583 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.6562, allocations: 22.11 kB / 0.9584 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.6562, allocations: 3.938 kB / 0.9584 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of Templates: time 0.004036/0.6603, allocations: 2.189 MB / 0.9605 GB, free: 0.5469 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches