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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9302/0.9302, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.74/1.74, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.088e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002097/0.002118, allocations: 1.697 MB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.003903, allocations: 1.722 MB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.003983, allocations: 4 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.004281, allocations: 39.7 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.004573, allocations: 107.4 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.004722, allocations: 99.52 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.00489, allocations: 151.4 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.00494, allocations: 5.641 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.005102, allocations: 87.73 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.005208, allocations: 43.88 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.005225, allocations: 8 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.005354, allocations: 115.8 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.005401, allocations: 19.92 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.005442, allocations: 31.91 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.005685, allocations: 211.3 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005688, allocations: 0 / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005689, allocations: 0 / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.005693, allocations: 0 / 1.005 GB, free: 8.684 MB / 0.9636 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.0004875/0.00618, allocations: 405.1 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.006214, allocations: 9.344 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.006335, allocations: 20.84 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.006526, allocations: 162.4 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.006536, allocations: 384 / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.006548, allocations: 8.359 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.006713, allocations: 127.3 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.006723, allocations: 7.875 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.006735, allocations: 12 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.00674, allocations: 3.984 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-05/0.006839, allocations: 47.95 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.006986, allocations: 155.1 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.007152, allocations: 111.8 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.007216, allocations: 54.55 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.007229, allocations: 4 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.007372, allocations: 109.9 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.007373, allocations: 7.875 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002983/0.007672, allocations: 177.3 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.007722, allocations: 132.5 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.008122, allocations: 200.6 kB / 1.007 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.008136, allocations: 33.7 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.00818, allocations: 112.1 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.008213, allocations: 27.83 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.008244, allocations: 17.72 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.008321, allocations: 330.8 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.008378, allocations: 31.98 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.00845, allocations: 93.91 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.008571, allocations: 99.42 kB / 1.007 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.008573, allocations: 4 kB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001651/0.008739, allocations: 141.7 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.008751, allocations: 8 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.008757, allocations: 3.938 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.008767, allocations: 4.094 kB / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.008841, allocations: 19.98 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008847, allocations: 4 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.008889, allocations: 19.88 kB / 1.008 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.008896, allocations: 4 kB / 1.008 GB, free: 5.746 MB / 0.9636 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.131e-05/0.008968, allocations: 124 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.008986, allocations: 19.94 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.009146, allocations: 119.1 kB / 1.008 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009149, allocations: 4 kB / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009153, allocations: 4 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.009156, allocations: 0 / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.009256, allocations: 149.2 kB / 1.008 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.009257, allocations: 0 / 1.008 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.009298, allocations: 23.92 kB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.0093, allocations: 4 kB / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.009308, allocations: 0 / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.009311, allocations: 11.92 kB / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009312, allocations: 0 / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.009488, allocations: 186.8 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.009503, allocations: 11.91 kB / 1.008 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.009523, allocations: 11.92 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.009557, allocations: 11.94 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.009597, allocations: 7.984 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.00961, allocations: 8 kB / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.457e-05/0.009695, allocations: 148.1 kB / 1.008 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009695, allocations: 0 / 1.008 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001729/0.009868, allocations: 47.88 kB / 1.009 GB, free: 4.801 MB / 0.9636 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) * Number of clocked states: 0 () * 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 (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.000799/0.01067, allocations: 0.5396 MB / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.01085, allocations: 99.8 kB / 1.009 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01086, allocations: 0 / 1.009 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.982e-05/0.01093, allocations: 47.91 kB / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.01111, allocations: 27.14 kB / 1.009 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.01148, allocations: 293.4 kB / 1.01 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.177e-05/0.01154, allocations: 93.25 kB / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.01159, allocations: 24.48 kB / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.01159, allocations: 0 / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of Templates: time 0.002948/0.01454, allocations: 2.672 MB / 1.012 GB, free: 1.188 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.8917799554765224]