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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001202/0.001201, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.09/2.09, allocations: 390.2 MB / 0.6646 GB, free: 500 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.5771, allocations: 140.3 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002619/0.5798, allocations: 1.673 MB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.5814, allocations: 1.51 MB / 0.9527 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.693e-05/0.5815, allocations: 1.312 kB / 0.9527 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.5817, allocations: 39.95 kB / 0.9527 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.5819, allocations: 71 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.5822, allocations: 118.9 kB / 0.9529 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.5823, allocations: 122.6 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.5824, allocations: 14.61 kB / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.5825, allocations: 62.11 kB / 0.9531 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.5826, allocations: 49.33 kB / 0.9531 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.5827, allocations: 6.375 kB / 0.9531 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.5828, allocations: 62.66 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.5828, allocations: 25.78 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.5829, allocations: 49.45 kB / 0.9533 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.5831, allocations: 144.6 kB / 0.9534 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.5831, allocations: 3.938 kB / 0.9534 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5831, allocations: 0 / 0.9534 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.5831, allocations: 0 / 0.9534 GB, free: 6.121 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.0004416/0.5835, allocations: 436.4 kB / 0.9538 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.5836, allocations: 8.062 kB / 0.9538 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.5836, allocations: 14.81 kB / 0.9539 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.5838, allocations: 221.1 kB / 0.9541 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.5838, allocations: 2.719 kB / 0.9541 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.5838, allocations: 14.53 kB / 0.9541 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.584, allocations: 96.27 kB / 0.9542 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.584, allocations: 0 / 0.9542 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.5841, allocations: 5.156 kB / 0.9542 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.5841, allocations: 5.25 kB / 0.9542 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.5842, allocations: 55.8 kB / 0.9542 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.5844, allocations: 209.5 kB / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.5846, allocations: 116.5 kB / 0.9546 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.5847, allocations: 49.97 kB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.5847, allocations: 1.469 kB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.5849, allocations: 116.2 kB / 0.9547 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.5849, allocations: 1.219 kB / 0.9547 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003923/0.5853, allocations: 157.6 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.5854, allocations: 135 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.5855, allocations: 175.1 kB / 0.9552 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.5855, allocations: 31.06 kB / 0.9552 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.5856, allocations: 105.8 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.5856, allocations: 30.61 kB / 0.9553 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.5856, allocations: 21.47 kB / 0.9553 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.5857, allocations: 325.8 kB / 0.9556 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.5858, allocations: 38.5 kB / 0.9557 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.707e-05/0.5859, allocations: 61.23 kB / 0.9557 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.5861, allocations: 93.88 kB / 0.9558 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.5861, allocations: 1.031 kB / 0.9558 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002324/0.5863, allocations: 136.5 kB / 0.956 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.5863, allocations: 4.125 kB / 0.956 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.5863, allocations: 1.125 kB / 0.956 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5864, allocations: 2.25 kB / 0.956 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.5865, allocations: 27.42 kB / 0.956 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.5865, allocations: 6.062 kB / 0.956 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.5866, allocations: 9.203 kB / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.5866, allocations: 4.406 kB / 0.956 GB, free: 3.676 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 6.347e-05/0.5866, allocations: 127.1 kB / 0.9561 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.5867, allocations: 17.31 kB / 0.9562 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.5867, allocations: 18.77 kB / 0.9562 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5867, allocations: 2.406 kB / 0.9562 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5867, allocations: 0 / 0.9562 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5867, allocations: 5.062 kB / 0.9562 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.5868, allocations: 210 kB / 0.9564 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5868, allocations: 0 / 0.9564 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.5869, allocations: 18.8 kB / 0.9564 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5869, allocations: 5.125 kB / 0.9564 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5869, allocations: 2.188 kB / 0.9564 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5869, allocations: 1.188 kB / 0.9564 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5869, allocations: 1.188 kB / 0.9564 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.5872, allocations: 170.8 kB / 0.9566 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.5872, allocations: 88.53 kB / 0.9567 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.5873, allocations: 2.188 kB / 0.9567 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.5873, allocations: 9.344 kB / 0.9567 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.5874, allocations: 11.08 kB / 0.9567 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.5874, allocations: 8.156 kB / 0.9567 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.899e-05/0.5875, allocations: 132.6 kB / 0.9568 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5875, allocations: 0 / 0.9568 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002216/0.5877, allocations: 29.94 kB / 0.9568 GB, free: 2.918 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.0008388/0.5886, allocations: 462.4 kB / 0.9573 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.5888, allocations: 85.64 kB / 0.9574 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5888, allocations: 0 / 0.9574 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.589, allocations: 44.56 kB / 0.9574 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.5892, allocations: 35.36 kB / 0.9574 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.5896, allocations: 245.2 kB / 0.9577 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.652e-05/0.5897, allocations: 0.705 MB / 0.9584 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.369e-05/0.5897, allocations: 15.97 kB / 0.9584 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.5898, allocations: 20.39 kB / 0.9584 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5898, allocations: 1.5 kB / 0.9584 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of Templates: time 0.003973/0.5938, allocations: 2.039 MB / 0.9604 GB, free: 0.6602 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/jenkins/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