Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 120.1 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.5 MB / 0.7293 GB, free: 14.68 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.91 kB / 1.057 GB, free: 2.129 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3165, allocations: 160.7 MB / 1.214 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003262/0.3198, allocations: 1.683 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.3221, allocations: 1.519 MB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.3222, allocations: 4 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.3225, allocations: 39.77 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.3228, allocations: 67.58 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.3231, allocations: 119.3 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.3233, allocations: 119.6 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.3234, allocations: 9.125 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3236, allocations: 63.64 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.3238, allocations: 59.75 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.3239, allocations: 4 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.324, allocations: 63.97 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.3241, allocations: 19.91 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.454e-05/0.3242, allocations: 47.67 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.3244, allocations: 147.3 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3244, allocations: 4 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3244, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3244, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 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.0007126/0.3252, allocations: 452.6 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3252, allocations: 8.031 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.3252, allocations: 12.89 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.3256, allocations: 217.1 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3256, allocations: 12.25 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.3256, allocations: 4.125 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.3259, allocations: 101.1 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3259, allocations: 3.984 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3259, allocations: 0 / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3259, allocations: 4 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.3261, allocations: 47.91 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.3264, allocations: 211.5 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.3267, allocations: 115.7 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.3268, allocations: 50.56 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.3268, allocations: 7.984 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.3271, allocations: 113.9 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3271, allocations: 4 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005231/0.3276, allocations: 165.5 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/0.3277, allocations: 136.5 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3279, allocations: 170.9 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3279, allocations: 29.7 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.328, allocations: 104.4 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.328, allocations: 31.78 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.3281, allocations: 21.72 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3282, allocations: 322.8 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3284, allocations: 35.97 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.3285, allocations: 64.2 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.3287, allocations: 95.38 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3287, allocations: 0 / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003268/0.329, allocations: 145.4 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3291, allocations: 4 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3291, allocations: 0 / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3291, allocations: 4 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.3292, allocations: 23.92 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3292, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.3293, allocations: 11.94 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3293, allocations: 4 kB / 1.221 GB, free: 10.11 MB / 0.9669 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.0001322/0.3294, allocations: 129.9 kB / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3295, allocations: 11.95 kB / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.3295, allocations: 17.39 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3295, allocations: 7.938 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3295, allocations: 0 / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3295, allocations: 0 / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.3298, allocations: 213.7 kB / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3298, allocations: 0 / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.3298, allocations: 19.98 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3298, allocations: 0 / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3299, allocations: 12 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3299, allocations: 0 / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3299, allocations: 0 / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.3302, allocations: 162.6 kB / 1.221 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.3303, allocations: 100.9 kB / 1.221 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.3303, allocations: 8 kB / 1.221 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.3304, allocations: 4 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.3304, allocations: 7.984 kB / 1.221 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.3305, allocations: 4 kB / 1.221 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001358/0.3306, allocations: 135.2 kB / 1.221 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3306, allocations: 0 / 1.221 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002568/0.3309, allocations: 31.94 kB / 1.221 GB, free: 9.156 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.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.001613/0.3325, allocations: 458.7 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.3328, allocations: 80.02 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3328, allocations: 4.062 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.333, allocations: 43.91 kB / 1.222 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3333, allocations: 29.55 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.3339, allocations: 266.4 kB / 1.222 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.3342, allocations: 0.7081 MB / 1.223 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.3343, allocations: 27.42 kB / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3343, allocations: 0 / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of Templates: time 0.004752/0.339, allocations: 2.201 MB / 1.225 GB, free: 5.484 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.166714288061485]