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.001976/0.001976, allocations: 78.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002479/0.002479, allocations: 169.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.955/2.955, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] 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.583e-06/1.583e-06, allocations: 0 / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.66e-05, allocations: 2.281 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003483/0.003509, allocations: 1.691 MB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.006621, allocations: 1.718 MB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.00673, allocations: 0 / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.007046, allocations: 51.58 kB / 1.004 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.007492, allocations: 107.3 kB / 1.004 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.007785, allocations: 99.58 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.008052, allocations: 143.5 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.087e-05/0.008113, allocations: 5.641 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.008348, allocations: 87.67 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.008531, allocations: 47.88 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.00856, allocations: 8 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.008786, allocations: 103.8 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.008854, allocations: 31.8 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.008924, allocations: 31.91 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.009351, allocations: 211.3 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.009355, allocations: 4 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.002e-06/0.009356, allocations: 0 / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.009361, allocations: 0 / 1.004 GB, free: 2.965 MB / 0.9512 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.0008547/0.01022, allocations: 393.2 kB / 1.005 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.01025, allocations: 11.97 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.01043, allocations: 24.83 kB / 1.005 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.01079, allocations: 158.4 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.01081, allocations: 8.359 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.01083, allocations: 8.312 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.01111, allocations: 131.3 kB / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01112, allocations: 3.938 kB / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.01113, allocations: 0 / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.01114, allocations: 0 / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.01134, allocations: 59.89 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.01158, allocations: 151.1 kB / 1.005 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.0119, allocations: 119.8 kB / 1.005 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.01203, allocations: 50.61 kB / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.01206, allocations: 4 kB / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.0123, allocations: 109.9 kB / 1.006 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.01231, allocations: 0 / 1.006 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0006044/0.01291, allocations: 181.8 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.01301, allocations: 128.5 kB / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.0133, allocations: 203.7 kB / 1.006 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.01333, allocations: 33.69 kB / 1.006 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.01341, allocations: 100.1 kB / 1.006 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.01346, allocations: 23.84 kB / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.01352, allocations: 25.72 kB / 1.006 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.01371, allocations: 326.8 kB / 1.007 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.01383, allocations: 39.98 kB / 1.007 GB, free: 484 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.01399, allocations: 94.03 kB / 1.007 GB, free: 368 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.01427, allocations: 99.33 kB / 1.007 GB, free: 256 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01428, allocations: 0 / 1.007 GB, free: 256 kB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003918/0.01467, allocations: 145.5 kB / 1.007 GB, free: 104 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.01469, allocations: 4 kB / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.0147, allocations: 3.938 kB / 1.007 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.01472, allocations: 4 kB / 1.007 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.01487, allocations: 23.92 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.01488, allocations: 0 / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.01498, allocations: 19.88 kB / 1.007 GB, free: 48 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.01499, allocations: 0 / 1.007 GB, free: 48 kB / 0.9512 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 0.0001732/0.01517, allocations: 130.5 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.01521, allocations: 12.02 kB / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.01555, allocations: 142.9 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.01556, allocations: 3.984 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01556, allocations: 0 / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.01556, allocations: 4 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.01581, allocations: 141.3 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.01581, allocations: 4 kB / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.0159, allocations: 15.98 kB / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.01591, allocations: 0 / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.01593, allocations: 7.984 kB / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.01593, allocations: 8 kB / 1.007 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.01594, allocations: 4 kB / 1.007 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.0164, allocations: 182.6 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.01645, allocations: 15.84 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.0165, allocations: 7.984 kB / 1.008 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.0166, allocations: 11.94 kB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.01669, allocations: 11.92 kB / 1.008 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.01672, allocations: 7.984 kB / 1.008 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001966/0.01692, allocations: 156.1 kB / 1.008 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01692, allocations: 0 / 1.008 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003615/0.01728, allocations: 47.81 kB / 1.008 GB, free: 15.08 MB / 0.9669 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.002177/0.01946, allocations: 0.5298 MB / 1.008 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.01982, allocations: 87.88 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.01983, allocations: 0 / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.01999, allocations: 52.16 kB / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.02036, allocations: 27.98 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.02113, allocations: 267.3 kB / 1.009 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.02125, allocations: 97.27 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.714e-05/0.02135, allocations: 29.11 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.02142, allocations: 24.48 kB / 1.009 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.02142, allocations: 0 / 1.009 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of Templates: time 0.007753/0.02917, allocations: 2.638 MB / 1.011 GB, free: 11.54 MB / 0.9669 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: 8.440498284995556]