Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001415/0.001415, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001511/0.001511, allocations: 164.2 kB / 22.46 MB, free: 5.375 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.408/1.408, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.652/2.652, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.889e-05/4.184e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.004939/0.004981, allocations: 1.692 MB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004429/0.00941, allocations: 1.727 MB / 0.9543 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.009538, allocations: 7.938 kB / 0.9543 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.009924, allocations: 35.7 kB / 0.9543 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005757/0.0105, allocations: 115.3 kB / 0.9544 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.01089, allocations: 99.52 kB / 0.9545 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.01124, allocations: 135.5 kB / 0.9547 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.666e-05/0.01131, allocations: 13.62 kB / 0.9547 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.01162, allocations: 87.75 kB / 0.9548 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.01184, allocations: 43.88 kB / 0.9548 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.01188, allocations: 8 kB / 0.9548 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.01225, allocations: 115.7 kB / 0.9549 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.01234, allocations: 27.86 kB / 0.955 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.902e-05/0.01243, allocations: 31.91 kB / 0.955 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.01296, allocations: 211.3 kB / 0.9552 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01297, allocations: 0 / 0.9552 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/0.01297, allocations: 0 / 0.9552 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.01298, allocations: 0 / 0.9552 GB, free: 7.203 MB / 0.8575 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.0009968/0.01397, allocations: 397.2 kB / 0.9556 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.01402, allocations: 8.031 kB / 0.9556 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.0143, allocations: 24.83 kB / 0.9556 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.01478, allocations: 170.3 kB / 0.9558 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.0148, allocations: 384 / 0.9558 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.01484, allocations: 4.375 kB / 0.9558 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.01524, allocations: 123.3 kB / 0.9559 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.01526, allocations: 3.938 kB / 0.9559 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.01529, allocations: 8 kB / 0.9559 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.01529, allocations: 0 / 0.9559 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.01561, allocations: 55.89 kB / 0.9559 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.01596, allocations: 155.1 kB / 0.9561 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.01643, allocations: 111.8 kB / 0.9562 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.01664, allocations: 50.61 kB / 0.9562 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.01667, allocations: 4 kB / 0.9563 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.01703, allocations: 117.8 kB / 0.9564 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.01703, allocations: 3.938 kB / 0.9564 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0008427/0.01787, allocations: 169.4 kB / 0.9565 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.018, allocations: 136.5 kB / 0.9567 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.01835, allocations: 200.4 kB / 0.9569 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.01839, allocations: 29.7 kB / 0.9569 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.0185, allocations: 116.1 kB / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.01856, allocations: 23.81 kB / 0.957 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.01865, allocations: 21.7 kB / 0.957 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.01885, allocations: 322.8 kB / 0.9573 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.01903, allocations: 35.97 kB / 0.9574 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.01928, allocations: 93.97 kB / 0.9575 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.01968, allocations: 99.38 kB / 0.9576 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01969, allocations: 0 / 0.9576 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005533/0.02024, allocations: 141.7 kB / 0.9577 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.02027, allocations: 8.188 kB / 0.9577 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.02028, allocations: 3.938 kB / 0.9577 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.02031, allocations: 11.97 kB / 0.9577 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.02051, allocations: 23.97 kB / 0.9577 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.02052, allocations: 4 kB / 0.9577 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.02066, allocations: 7.938 kB / 0.9578 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.02068, allocations: 8 kB / 0.9578 GB, free: 4.281 MB / 0.8575 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.0001725/0.02086, allocations: 121.8 kB / 0.9579 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.02092, allocations: 15.91 kB / 0.9579 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.02133, allocations: 139 kB / 0.958 GB, free: 4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.02134, allocations: 4 kB / 0.958 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.02135, allocations: 4 kB / 0.958 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.02136, allocations: 0 / 0.958 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.0216, allocations: 141.3 kB / 0.9582 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.02161, allocations: 3.984 kB / 0.9582 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.02175, allocations: 15.98 kB / 0.9582 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.02176, allocations: 4 kB / 0.9582 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.02178, allocations: 4 kB / 0.9582 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.02179, allocations: 7.938 kB / 0.9582 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.02179, allocations: 0 / 0.9582 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.02239, allocations: 186.6 kB / 0.9584 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.02244, allocations: 15.89 kB / 0.9584 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.02248, allocations: 3.938 kB / 0.9584 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.02263, allocations: 23.86 kB / 0.9584 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.02273, allocations: 7.984 kB / 0.9584 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.02277, allocations: 4 kB / 0.9584 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002291/0.023, allocations: 152.3 kB / 0.9586 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.023, allocations: 0 / 0.9586 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005405/0.02354, allocations: 47.86 kB / 0.9586 GB, free: 3.332 MB / 0.8575 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.002876/0.02641, allocations: 0.541 MB / 0.9592 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.0269, allocations: 83.89 kB / 0.9592 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.02691, allocations: 0 / 0.9592 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.02716, allocations: 55.88 kB / 0.9593 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.02765, allocations: 30.61 kB / 0.9593 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.02851, allocations: 263.8 kB / 0.9596 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.02867, allocations: 105 kB / 0.9597 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.0288, allocations: 20.97 kB / 0.9597 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.02889, allocations: 24.48 kB / 0.9597 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of SimCode: time 1.002e-06/0.02889, allocations: 0 / 0.9597 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of Templates: time 0.01046/0.03935, allocations: 2.645 MB / 0.9623 GB, free: 15.79 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.922152161598206]